Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing label caption
Message
From
11/10/2002 10:09:38
 
 
To
11/10/2002 10:02:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00710296
Message ID:
00710302
Views:
15
This message has been marked as the solution to the initial question of the thread.
Michael

Best option is to save the titles in the table and dont caption the label in the designer and use the captions from the table. or second option is use set properties in the form to check if the title changed and for new title

if the title changed and replace title with thisform.newtitle for that label

HTH

>I have a simple input form with textboxes and labels.
>I want the user to be able to change the caption property
>of the label permanently. Just using label1.caption
>= "mylabel" will change it temporarily but the next time
>the form is loaded, the caption reverts back to it's
>original property setting. I have thought of using a table
>to set the captions on form activation but want to know if
>there is a better way.
>
>ex: On an employee input form the caption of label 1
>is "Job", some clients may want this to
>say "Title", "Position" or something other than "Job"
>
>Thanks for any help
Previous
Reply
Map
View

Click here to load this message in the networking platform