Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace all
Message
From
28/04/2005 07:18:15
 
 
To
28/04/2005 06:52:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 5
Miscellaneous
Thread ID:
01009144
Message ID:
01009150
Views:
18
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform