Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I make a custom messagebox work like messagebox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01236031
Message ID:
01236038
Vues:
16
>I have created a custom messagebox class which functions as a drop in replacement for MESSAGEBOX in a touch screen application. The problem is that when I fire my message box, it causes valid, lostfocus, etc. to fire while if I call MESSAGEBOX none of these things happen.
>
>I've been able to work around it in the past, but I've got a sticky situation going with some new code, and I am wondering if there is some way of making a custom VFP form work the same way as the message box does in relation to the events that are triggered when I display it?

I'm not exactly sure I got your question, but I know Craig Boyd has a very interesting hook (See http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,f7644db8-b155-4d43-8216-4cfde233edb7.aspx )

For my purpose I use my own Statistics form as a messagebox replacement when I need Print functionality and ability to scroll long messages. I have it in the Downloads section here.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform