Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make txtBox not selectable
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00721854
Message ID:
00722111
Vues:
19
>Can someone tell me how to do this. I have a Textbox that does have a field ControlSource - but I want it to act just like a Label so that it can't be selected by the mouse. I do want the data from the field to appear on the form. I have set:
>
>BackStyle = 0 Transparent
>BorderStyle = 0 None
>TabStop = .F.
>Visible = .T.
>
>but if the user "mouses" around enough over that he can still select it.
>
>Anyone know how to make this field not selectable?
>
>Mel Cummings

There is always so many ways to skin a Fox. g

Another way to produce the same thing.
Make it a label, set AutoSize on or limit it and adjust the size as you se fit, in the refresh of the Form, ThisForm.Label1.Caption = table.field.

Tracy
Tracy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform