Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ListDialog.SetColumnWidth

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

Parameters

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

Result

Returns OK or error.

Description

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

Examples

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

This function is free to use.

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


ListDialog.SetColumnHeader - ListDialog.SetFilter