Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting values from wrong data session
Message
 
To
13/12/2001 22:51:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00593878
Message ID:
00594689
Views:
32
>>>That's okay...I almost cut to the chase a recommended a textbox with a controlsource myself. But I was curious about where he had the code...I can only guess that he put it in the init() method.
>>>
>>>>Sorry, my crystal ball malfunctioned this time. :)
>>>>
>>>>>Hey! I was going to lead him down a trail to discover the solution himself! :)
>>>>>
>>
>>While it breaks encapsulation a little I would put the code to set the caption of the label in the textbox containing the date. Sometimes you want the LOOK and FEEL of a caption so don't want to use a textbox for that.
>>
>
>I hear what you're saying...but you can give it the look of a caption by setting backstyle to transparent, the borderstyle to none, and making it readonly. I have a textbox class set up for this purpose. Then you can let the controlsource do the work.

That should ought to work if you remember to turn off tabstop.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform