Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
hi,
thank you,
this grate,
but i mean somthing as at the top of myform
somtimes label or text with name as"JORDAN TEL.",
you can see it at all forms and reports,
if you want to change this name to aonther comany name you must go to every form to change this text or label.
this is what i mean , but i must try your code,
thanks.
>>hi all,
>>
>>how i can change all titles or headers for my forms and reprorts.
>>
>>as if a company name is "TEL.COMPANY", i can see this name for every form and report , if i want to change this name to any name via change this label or text. as one time .
>>
>>THANKS.
>
>M.
>
>Do you mean the caption that appears on the form's title bar? If so, you could call each form with a parameter, say tcCompanyName,
>
>e.g.
>
>Do form MyForm with "Jordan Acme Co."
>
>and, in the .Init() of the form, issue:
>
>Thisform.caption = thisform.caption + " - " + tcCompanyName
>
>So, if the caption of your form was, say, "Employee Form" it would become "Employee Form - Jordan Acme Co."
>
>HTH
>
>Terry
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