Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

ProgressDialog.SetButtonCaption

Component: ProgressDialog
Version: 2.4
Mac OS X: Works
Windows: Works

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" )

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Pfarrgemeinde Ministranten Nickenich