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  

ProgressDialog.SetButtonCaption

Sets the cancel button text.

Component: ProgressDialog
Version: 2.4
Mac OS X: Yes
Windows: Yes
Server: No
FileMaker Cloud: No

MBS( "ProgressDialog.SetButtonCaption"; text )

Parameters

Parameter Description Example value
text The new button text. "Annuler"

Result

Returns "OK" on success.

Description

Sets the cancel button text.
Default is "Cancel" if you don't call this method. If your solution supports multiple languages, it may be worth putting those texts into an extra table and picking the right text at runtime.

Examples

Set button text for Germany:

MBS( "ProgressDialog.SetButtonCaption"; "Abbrechen" )

See also


ProgressDialog.SetBottomText   -   ProgressDialog.SetCancel

Feedback: Report problem or ask question.




Links
MBS Realbasic PDF Plugins - Nachhilfe in Nickenich