General information
Category:
Coding, syntax & commands
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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only