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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now