Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not select text at setfocus()
Message
De
07/10/2003 07:48:55
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Roumanie
 
 
À
07/10/2003 07:26:54
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00835686
Message ID:
00835698
Vues:
10
No effect.Just double the event fired but nothing.
There is a diference of events fired between TAB and setfocus() behaviour.
The events for setfocus() are: (with this.setfocus in getfocus)
53434.426, frmjurnalecb.pageframe1.page1.txtnrdocument.When()
53434.426, frmjurnalecb.pageframe1.page1.txtnrdocument.RangeLow()
53434.426, frmjurnalecb.pageframe1.page1.txtnrdocument.RangeHigh()
53434.426, frmjurnalecb.pageframe1.page1.txtnrdocument.Valid()
53434.426, frmjurnalecb.pageframe1.page1.txtnrdocument.GotFocus()
53434.436, frmjurnalecb.pageframe1.page1.txtnrdocument.Message()
53434.436, frmjurnalecb.pageframe1.page1.txtnrdocument.When()
53434.456, frmjurnalecb.pageframe1.page1.txtnrdocument.RangeLow()
53434.466, frmjurnalecb.pageframe1.page1.txtnrdocument.RangeHigh()
53434.486, frmjurnalecb.pageframe1.page1.txtnrdocument.Valid()
53434.496, frmjurnalecb.pageframe1.page1.txtnrdocument.GotFocus()
53434.526, frmjurnalecb.pageframe1.page1.txtnrdocument.Message()

and for TAB there are missing RangeLow, RangeHigh and Valid. Anyway in this events there are no custom code.


>Hi
>
>Try this.SetFocus() in GotFocus() event code
>
>>Hi,
>>
>>I have textbox with SelectOnEntry=.t.
>>When TAB to it gets entire text selected -> ok.
>>When Click to it it's selected ->ok.
>>When issue in code setfocus() the text is not selected; Why?
>>I try to put in gotfocus() selstart=0 and sellenght=len('text') and no change.
>>I put selstart=0 and sellenght=len('text') in code after setfocus and no efect.
>>What I am missing here?
>>
>>Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform