MOGSY Posted July 9, 2018 Share Posted July 9, 2018 Hi for dbgrid at run time, it is possible to set the width, visible, however index has no effect and column position will stay as it was specified on the select statement. works aDataSet.FieldByName(aField).Visible := True; aDataSet.FieldByName(aField).DisplayWidth := aWdt; do not work aDataSet.FieldByName(aField).Index := aIndx; I would appreciate your help Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.