Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal forms
Message
From
18/06/1997 09:58:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00035703
Message ID:
00036774
Views:
48
>Hi Mike!
>
>Why don't you simply set it modal? (Default is modeless...)
>
>Greetings
>Markus
>(MS MVP)
>
>>Hi All,
>>
>> I'm trying to find a way of keeping the user form leaving a form while it is in edit mode. the Show() method generates an error if the form is visible, and I don't want to temporarily hide it. Is there anything else I can try?
>>
>>Thanks,
>>
>>Mike

Or try something like:
in form.queryunload:
nodefault()
if this.editmode
messagebox("Can't leave while in edit mode",48,"")
this.cmdsave.setfocus
else
dodefault()
endif
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform