Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LABEL color class
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00951785
Message ID:
00956704
Views:
10
I spoke too soon. What is the reason I cannot modify the caption from elsewhere in the form? Doing so has no effect.

>Scratch that last quest. prob solved.
>
>>>Yes, I meant sleep hours, you're on other side of the globe.
>>
>>Ohh. Right now it's almost 2 AM here. It' because I am doing my job after office hours. So everyone has left the office, and I don't disturb their work.
>>
>>
>>>However in my init and activate I have "thisform.colorlabel1.caption=mlog_nbr"
>>>but it has no effect, it still says "color label"
>>
>>Don't put it in "ThisForm.Init" event. The "ColorLabel" object has been created. Put it in the "ColorLabel1.Init" event directly. Put this code in "ColorLabel1.Init" event:
>>
>>This.Caption = 'Whatever...'
>>DoDefault()
>>
"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
Reply
Map
View

Click here to load this message in the networking platform