Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multicolored label
Message
From
16/09/2002 15:33:11
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00700941
Message ID:
00700950
Views:
11
This message has been marked as a message which has helped to the initial question of the thread.
Somthing like:
For x = 1 to Len(THISFORM.txtlabel.Caption)
   ?Substr(THISFORM.txtlabel.Caption,x,1) 
Next
>>A Method could parse the label and make each individual character a separate label with its own BackColor/Forecolor, sized to fit the single letter....lots of detail here but it should work...
>>
>>
>>I was looking for an idea how to create a class or method to parse a label's chars and have each one a different color, if at all possible.
>
>So the idea is to have a regular label in place when the form opens then tinker with it when form opens. But how do you reference/parse a label's chars?
Previous
Reply
Map
View

Click here to load this message in the networking platform