Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox is not shown
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00980856
Message ID:
00980922
Views:
55
>>I believe you may be mistaken. It does have to do with SET NOTIFY. In my test form I have different behavior depending on this setting. I just dropped my class on the form and one regular textbox class. In the form's load I tried SET NOTIFY ON. In this case I see my error message (which is now wait window). If I put SET NOTIFY OFF, I do not see messagebox, but the focus stays in the control.
>
>How is ErrorMsg implemented? Maybe inside that function there is a piece of code like this:
>
>if set("notify")="ON" ;
>then
>   MessageBox(m.lpcMesssage)
>endif
>
>In the command window, type SET NOTIFY OFF, then issue MessageBox(), you'll see the message.

Dawa,

I'm sorry. I updated my message, but you and Nancy still replied on the original text. I believe, my ErrorMsg function was not defined (it is in utility), but I didn't see the error telling me this either. I hadn't yet tested this theory because I was busy answering you and Nancy :)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform