Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question abt. Pageframes
Message
De
18/12/1997 11:00:16
 
 
À
18/12/1997 10:56:27
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00066922
Message ID:
00066935
Vues:
33
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform