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:
01236060
Vues:
17
>>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?
>
>Your code could reset some property (in form or application object) that will block code in all other events (form.activate,control.lostfocus etc).

I am working on that approach right now. It would sure be cleaner if I could create a true replacement for messagebox, though.
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform