Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageFrame Bug????
Message
From
09/04/2003 01:47:46
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00775338
Message ID:
00775349
Views:
12
William, use the page.enabled property found under the "Other" tab of the properties dialog. Set this to an expression which returns a .T. if you want the user to be able to access the page and return .F. to prevent access.

You can also use this technique to change the caption of the page to either none or a generic one such as "N/A" if you do not want the user to access the page. Just put a IIF() expression in the page.caption property.


>Hello UT...ALL
>
>I have a PageFrame with 3 Pages(Page1.Caption = Customer,
>Page2.Caption = 'Detail count', page3.caption = History)
>
>i need "hide" specific page when a type of user "login"...
>(don't exist "Page2.Visible" property :( ... )
>then i set TABS property to .F.(to only show a page at time)
>
>ummm...
>
>when TABS = .t.
>i use Thisform.Pageframe1.pageN.setfocus... the desired page
>is showed... OK!!!!
>
>but when TABS = .F.
>and use Thisform.Pageframe1.pageN.setfocus... and the desired page
>don't show(only the first...) UMMMM!!!!
>
>How solve this problem???
>any suggestions...???
>
>Thanks....for your appreciated help..
>
>
>William
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform