Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ListDialog.SetColumnHeader
Sets the column header text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ListDialog | 9.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "ListDialog.SetColumnHeader"; Index; Text ) More
Parameters
Parameter | Description | Example |
---|---|---|
Index | The index of the column starting with zero for the first one. | 0 |
Text | The text for the column header. | "Hello" |
Result
Returns OK or error.
Description
Sets the column header text.Examples
Set column headers:
Set Variable [ $r ; Value: MBS("ListDialog.SetColumnCount"; 2) ]
Set Variable [ $r ; Value: MBS("ListDialog.SetColumnHeader"; 0; "Column left") ]
Set Variable [ $r ; Value: MBS("ListDialog.SetColumnHeader"; 1; "Column right") ]
See also
- ListDialog.ClearColumnHeaders
- ListDialog.GetColumnHeader
- ListDialog.GetColumnWidth
- ListDialog.SetColumnCount
- ListDialog.SetColumnWidth
Release notes
- Version 9.2
- Added ListDialog.ClearColumnHeaders, ListDialog.GetColumnHeader andListDialog.SetColumnHeader functions.
Blog Entries
This function is free to use.
Created 27th April 2019, last changed 16th December 2020