Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic label caption
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00520809
Message ID:
00520906
Views:
17
Hi!

I guess better use a text box without the Control Source specified and designed to appear as a label on the form. Than in the Refresh event/method of the Label put the code to update the Value property of the text box to the value you have mentioned. Thats all. Each time Refresh of the form called, Refresh of any control on form is called too.

HTH.

>How can I make my label caption dynamic in terms of that it changes by adding a variable. For example: (payperiod =
>
>payperiod = 10
>
>label1 = 'This payperiod is'
>
>
>How can I combine a variable and a label caption to create a label that will say:
>
>This Payperiod is 10
>
>Thanks
>Nick Patel
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform