Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3    Statistic    FMM    Blog  


Sets column width to use.

Component Version macOS Windows Linux Server iOS SDK
ListDialog 11.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "ListDialog.SetColumnWidth"; Index; Width )   More


Parameter Description Example
Index The index of the column starting with zero for the first one. 0
Width The new width to use. 50


Returns OK or error.


Sets column width to use.
For multi columns, you may specify custom column widths.


Set column widths for first two columns:

Set Variable [ $r ; Value: MBS("ListDialog.SetColumnWidth"; 0; 50) ]
Set Variable [ $r ; Value: MBS("ListDialog.SetColumnWidth"; 1; 80) ]

See also

Release notes

Blog Entries

Created 3th May 2021, last changed 3th May 2021

ListDialog.SetColumnHeader - ListDialog.SetFilter

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins

Start Chat