Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting values from wrong data session
Message
 
À
13/12/2001 22:51:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00593878
Message ID:
00594689
Vues:
41
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform