Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change all labels on form to diff color
Message
 
To
20/08/1997 16:37:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00045953
Message ID:
00045975
Views:
36
>>>>Is there a way to change all the labels on my form to a different forecolor in one swoop?
>>>
>>>Thisform.SetAll("forecolor",16777215,"label")
>>
>>Ed, just as I was to apply this, something must have changed in the form because when I run the form, it runs but all the fields are invisable and you can see the cursor tab thru the positions. Also the property's are visable so that can't be the problem.
>
>16777215 will make all forecolors white. Check manual and use appropriate value depending on your form controls background colors.

No, this was b4 the color tip and nothing to do with it.
The form runs but all the fields are invisible and you can see the cursor tab thru the positions. Also I did not mess with the visable preoperty either.
Might it have something to do with the fact I chg one of the fields properties
so as not to reflect the thisfile.name to just name?
This form will use many files all with the same structure but with different name so specifying an alias is confusing.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform