Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text of Dialog box buttons
Message
From
12/06/1997 11:54:02
 
 
To
12/06/1997 11:49:28
Haji Rashidi Haji Abd Hathi
Information Techonology & State Store
Bandar Seri Begawan, Brunei
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00036104
Message ID:
00036105
Views:
30
>I am trying to create my own dialog box. The problem is that I don't
>know how to change the text of Dialog box buttons. For example :- If I choose nDialogBoxType = 4, the text display on the button is "Yes" and "No". However, I want to display "Ya" instead of "Yes" and "Tidak" instead of "No". The reason I want to change the text is that my application is using a Malay language instead of English language.
>
>Thanks in advanced
>
>Haji Rashidi

If you want to have your own 'dialog box' you better create appropriate class: modal form with 2 buttons and 1 label. Then in run-time you invoke the object based on this class (using CreateObject or AddObject) and customize properties (e.g. frmMyDialog.cmdLeftbutton.Caption="Tydak") in code.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform