Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to acces ALL controls on a form
I have a form ,which at rutime, I want to change the caption of each control, based on a parameter passed to the form.
I am trying to do this in the INIT of the form with the following:
for i = 1 to controlcount
thisform.CONTROLS(lnFor).caption = somevalue
ENDFOR
Now this works fine for anything other than Contained controls. i.e. if I have a Pageframe, it does not give me access to each of the controls within the pageframe.
Is there any way of accessing ALL controls on a form( .i.e. going to lowest level) ?
Regards,
Gerard
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