Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe activepage
Message
From
19/02/2010 09:04:56
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7
Miscellaneous
Thread ID:
01449866
Message ID:
01449899
Views:
37
>>>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.
>>
>>Write the code in the Deactivate event of the page with the textbox
>>
>>
>>&& eg Page1.deactivate
>>
>>if( empty( m.this.textbox1.value) )
>>    NODEFAULT
>>    return .f.
>>endif
>>
>
>Here is a discussion about one possible problem with page Deactivate Re: Deactivate of the page fires when you click on the same Thread #1025827 Message #1027689

See Re: Pageframe activepage Thread #1449866 Message #1449898
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform