Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

Dialog.SetButton

Sets button text.

Component: Dialog
Version: 7.1
Mac OS X: Yes
Windows: Yes
Server: No
FileMaker Cloud: No

MBS( "Dialog.SetButton"; Index )

Parameters

Parameter Description Example value
Index The index of the button.
From 1 to 10.
4

Result

Returns OK or error.

Description

Sets button text.
Index 1 is default button, 2 alternate button, 3 other button and 4 to 10 are even more buttons.

Examples

Set six buttons:

Set Variable [$r; Value:MBS("Dialog.SetDefaultButton"; "1")]
Set Variable [$r; Value:MBS("Dialog.SetAlternateButton"; "2")]
Set Variable [$r; Value:MBS("Dialog.SetOtherButton"; "3")]
Set Variable [$r; Value:MBS("Dialog.SetButton"; 4; "4")]
Set Variable [$r; Value:MBS("Dialog.SetButton"; 5; "5")]
Set Variable [$r; Value:MBS("Dialog.SetButton"; 6; "6")]

See also


Dialog.SetAlternateButton   -   Dialog.SetButtons

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Nachhilfe in Plaidt