Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question abt. Pageframes
Message
From
18/12/1997 11:00:16
 
 
To
18/12/1997 10:56:27
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00066922
Message ID:
00066935
Views:
36
>>>I have a form with 6 pages in a pageframe, depending on the acess level code of the user, currently I'm enabling and disabling the pages.
>>>
>>>Instead of that I want to delete the Pages...
>>>
>>>Say, If a user has acess to page No. 1, 4 & 5. It should not load Page No. 2,3 & 6, Which will fasten up the speed in loading form.
>>>
>>>Any ideas to do it !!
>>
>>Could you use Pageframe.Addobject("pageX","pageclass") and .Removeobject("pageX")?
>
>I guess removeObject can be used only when the page is created, that means it is fully loaded..
>
>Isn't there any way like we can return .f. from the Init method of that page after chking for the acesslvl..
>
>Pls advs...

I meant that you could normally load minimal number of pages, i.e. you use Form Designer with 3 pages only), and then you add/remove other pages depending on situation. BTW, pages itself probably will not involve load time consuming, it's usually might be caused by some page.controls and you consider to add/remove them on fly.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform