5.2. How to get and set width of columns of the Query Columns grid control?
The TacQueryBuilder.SelectListOptions.*ColumnWidth set of properties can be used to set the default width of columns.
To get or set the actual width of columns in runtime (it can be changed by the end-user during the query building process), use the GetGeneralColumnsWidth, GetConditionsColumnsWidth, SetGeneralColumnsWidth and SetConditionsColumnsWidth methods of the TacQueryBuilderSelectListControl class representing the grid control. You can get access to this control for the currently active sub-query as follows:
grid := qb.ActiveSubQuery.ActiveUnionSubQuery.SelectList.SelectListControl as TacQueryBuilderSelectListControl;