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

Click here to load this message in the networking platform