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  


Sets the title for the default button.

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

MBS( "Dialog.SetDefaultButton"; text { ; NoDefault } )


Parameter Description Example value
text The new default button text. "OK"
NoDefault Optional
Whether to not have a default button.
Pass 1 to have no default button, so return key will not close dialog.
Default value here is 0 for allowing enter.
(Mac only)


Returns OK or error.


Sets the title for the default button.
When nil or an empty string, a default localized button title ("OK” in English) is used.

See also

Dialog.SetButtons   -   Dialog.SetFieldText

Feedback: Report problem or ask question.

MBS Real Studio Chart Plugins - Bilder aus Nickenich