Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe activepage
Message
 
 
To
22/02/2010 09:03:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7
Miscellaneous
Thread ID:
01449866
Message ID:
01450207
Views:
48
>>>Hi,
>>>
>>>I am trying to stop user to go to another page when he has not filled in one of the text box in the current page. I wrote some code at the activate events of other page like if (textbox value) is empty, pgframe.page1.activate but it is not working.
>>>
>>>Can somebody give me idea ?
>>>
>>>Thanks in advance.
>>
>>I think we were achieving this functionality by using NODEFAULT in Page.Activate if it was not the last active page.
>
>Or couldnt he like...put the "stopping code" if textbox.empty in the button or whatever he is using to load the form.Most likely a button right?so deactivate the button till this.x has a vaule

Right, but it would not prevent switching to a new page and this was the main intent.

But I'm happy that you already started to help other people with your ideas!
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform