Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select contents of a text box when clicking on it.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00962350
Message ID:
00962438
Vues:
10
Very good! Select on entry AND cursor positioning.
Shouldn't this be the default for SelectOnEntry=.T., without the need for scope resolution call?

>In addition to setiing SelectOnEntry=.T. put
* Textbox GotFocus
>Textbox::GotFocus()
>
>
>>VFP 7,8, (and 9).
>>
>>In a form I have set the format ($R), imput mask (99,999.00), initial value (0.00). and set select on entry property to true.
>>
>>Currently text is selected (highlighted) only if I tab into the box (and contents are replaced when as soon I start typing in a new value). If I click on the text box the text is not highlighted and is current contents are displayed untill I leave the text box. How do I get clicking (and/or double clicking) the the text box to act the same as when I tab to it. I thought I could use use this.selectonentry=.T. but it does not appear to be a valid setting.
>>
Doru
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform