Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setall for label
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01247069
Message ID:
01247071
Views:
14
>I have about 20 labels on a form for credits and thay are aptly named
>LBLCREDIT1,LBLCREDIT2,......LBLCREDIT20 and all the captions are the same, the word "credit". I want to use setall to chg them to another caption, "AMT" for example. I do not want to mess with various other labels on this form however.
for lnI = 1 to 20
   store 'new caption' to ('thisform.lblCredit' + transform(m.lnI))
next
If they are on a different pages, then it would be harder if they are not based on some extra class.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform