Information générale
Catégorie:
Gestionnaire d'écran & Écrans
You could set the page to enabled = .t. also on init() under the appropriate condition.
>>Hi all,
>>
>>Is there some way to prevent the overhead of loading a page of a pageframe other than by adding the objects the first time the page is selected.
>>
>>I have a pageframe with some 14 pages, some of which are not available if certain modules have not been installed. I would just like to be able to delete the unavailable pages as necessary in the Load event but at that stage the pages don't yet exist, but if I wait till the Init method then the pages and all their objects will have been initialised, so....
>>
>>Is there some other way of achieving this?
>>Thanks in anticipation.
>
>Please Ignore this I think I've solved it by returning .F. in the Init().
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement