Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Set everything on form as readonly
Versions des environnements
hi all. for security purpose when certain group of users log in, i want to set everything on all forms as readonly.
i am thinking of creating a custom class and put it on the form. now in the init of this class, i will loops through each and every control on th form and mark them as readonly or enable=.f. . the code has to be recursive so that if there is a pageframe or container object on form , it goes and loops through all objects on pageframe/container too.
i am wondering though if this is the correct idea and also if there is some already available such class out there.
thanks all for help in advance.
Suivant
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