Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace all
Message
De
28/04/2005 07:18:15
 
 
À
28/04/2005 06:52:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 5
Divers
Thread ID:
01009144
Message ID:
01009150
Vues:
19
>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
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform