Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I make a custom messagebox work like messagebox?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01236031
Message ID:
01236060
Views:
18
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform