Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modifying MESSAGEBOX commandbuttons
Message
From
14/11/1998 18:16:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
13/11/1998 10:44:09
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, California, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00157405
Message ID:
00157692
Views:
18
>Is there a way to modify the caption of messagebox() command buttons?
>
>For example, suppose I wanted the command buttons of a "Yes, No, Cancel" to read "Up, Down, Sideways" ... ?
>
>Ssince all messagebox does is return 6=Yes, 7=No, or 2=Cancel, it would be a no brainer to interpret return codes and do whatever. With all the flexibility available, but it seems "peculiar" that there isn't a backdoor for get at properties of those controls.
>
>Is my only option to create my own class?

It's done already. Take a look at Alert.zip in Files section (under VFP in General, or Classes/vcx, don't remember exactly).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform