Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Is there a way (isn't there always?) to assign a variable or object value to a form caption? Every way I tried always uses the expression literally.
>
>Not at design time, since the caption is evaluated just once. Do it with cod ein hte form's init method.
Actually provided the object or the variable is defined before the form is run (and in scope)you can do that
e.g. create a new form
set the form caption property to =pcSomeValiable
pcSomeValue="Caption to use"
and run the form
Arnon
Précédent
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