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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

ListDialog.SetShowCheckboxes

Sets whether to show checkboxes.

Component Version macOS Windows Linux Server iOS SDK
ListDialog 13.5 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "ListDialog.SetShowCheckboxes"; Enable )   More

Parameters

Parameter Description Example
Enable Pass 1 to enable or 0 to disable. 1

Result

Returns OK or error.

Description

Sets whether to show checkboxes.
If checkboxes are enabled, we show a checkbox in each row.
You can set check states with ListDialog.SetChecked and query them later with ListDialog.GetChecked.
The Select button is enabled, if at least one checkbox is marked or empty selection is allowed.
Users can filter and rows remember their checked state even when not visible.

Examples

Enable checkboxes:

Set Variable [ $r ; Value: MBS("ListDialog.SetShowCheckboxes"; 1) ]

See also

Blog Entries

This function is free to use.

Created 14th October 2023, last changed 14th October 2023


ListDialog.SetSelectedTitle - ListDialog.SetShowsFilter

💬 Ask a question or report a problem