Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageFrame
Message
 
To
17/07/1998 15:12:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00118771
Message ID:
00118780
Views:
19
>>Is there a way to stop the user from moving from one page in a pageframe to another until certain conditions are met on the current page ?
>> Example : Say you had a property on your form that is true or false with default value of .f., when the user completed certain functions on page1 the property is set to .t., then they could move to another page, if the property were .f. they could not move to other page.
>>
>>Right now I am using the Activate of each page to check the form property for .t. or .f. and if .f. warning the user and setting the Parent.ActivePage to page they came from so they are returned to complete whatever ... This also allows them to use other controls
>>on form not contained in pageframe without firing off a warning.
>>
>>Thanks CB!!!
>
>Page.Enabled=.F./.T.


Are you saying to set other pages enabled to .f. until the conditions are met ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform