Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nifty Button Menu...
Message
De
04/04/1998 01:50:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00085860
Message ID:
00089519
Vues:
28
>>>>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


Steve,

Thanks for the reply. I guess a nice coincidence on 'msgbox' huh? Are you sharing that class? I wouldn't mind taking a look at it from which to learn.

Thanks,

Mark
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform