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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
ListDialog.SetColumnCount
Sets column count.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| ListDialog | 9.2 | Yes | Yes | No | No | No |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Value | The new column count. | 2 |
Result
Returns OK or error.
Description
Sets column count.Currently we support up to 5 columns.
Default is 1 column unless you change it.
Delimiter for data is tab character, e.g. Char(9)
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") ]
Use two columns and fill an item to the list:
Set Variable [ $r ; Value: MBS("ListDialog.SetColumnCount"; 2) ]
Set Variable [ $r ; Value: MBS("ListDialog.AddItemToList"; "1st Column" & Char(9) & "2nd Column"; "Tag123") ]
See also
- ListDialog.AddItemToList
- ListDialog.ColumnCount
- ListDialog.GetColumnHeader
- ListDialog.SetColumnHeader
Blog Entries
- Was gibt es neues bei MBS Version 9.2
- MBS FileMaker Plugin, version 9.2pr5
- List Dialogs with headers
- List Dialogs with multiple columns
Release notes
- Version 9.2
- Added ListDialog.ColumnCount and ListDialog.SetColumnCount for multi column list dialogs.
Created 27th April 2019, last changed 16th December 2020
ListDialog.SetCancelButtonLabel - ListDialog.SetColumnHeader
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins