Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nifty Button Menu...
Message
 
To
19/03/1998 23:50:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00085860
Message ID:
00086424
Views:
23
>>>Anyone out there have a UDF for public domain which allows through parameter passing control of a message, some button choices, and which returns a result?
>>>
>>>The MESSAGEBOX is great, but quite limited to its choices. I'd like to be able to do something similar, but with my own button choices based on code.
>>>
>>>TIA!
>>>
>>>Sincerely,
>>>
>>>Mark W. Mitchell
>>>mark@remarkable-systems.com
>>
>>I think that there are some things you might want to look at here in the Files section of the UT. Other than those, I'm sure you could whip one up fairly quickly that would suit your needs. Make a custom (or whatever you might use) class that has a .MsgBox() method to run your standard messagebox stuff and create other methods to show fancy message boxes. You can then create properties for messages, icons, or whatever you need.
>>
>>Steve
>
>I'll check the UT. I'm not sure how to do the latter approach. Do you mean a class based on MESSAGEBOX or simply add a method called 'msgbox' (or other name) to a form or class?
>
>Mark

Strange that you used MsgBox(), that's exactly what I called it. I have a class, AppMessages....it has MsgBox, which utilizes MessageBox but with easier parameters to remember. It also does wait window messages and a few other things. It's just based on a custom class and you can write whatever things you need.

Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform