Information générale
Catégorie:
Codage, syntaxe et commandes
>>I have a disabled textbox on a form. When i click
>>on a command button I enable the textbox and then do
>>a setfocus() to that textbox. All that works but
>>I also would like the textbox to have its contents
>>already selected.
>>
>>I have tried the following measures but to no avail:
>>
>>textbox.Format = 'K'
>>
>>textbox.When
>> This.sellength = 7
>> this.selstart = 0
>>
>>How can I get the textbox to highlight its contents
>>when it is enabled and the focus has changed to that
>>object?
>
>this.SelectOnEntry = .T.
I failed to mention earlier that I also have selectonentry = .T. for
the textbox. Still does NOT work...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement