Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select contents of a text box when clicking on it.
Message
From
18/11/2004 15:14:20
 
 
To
18/11/2004 14:50:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00962350
Message ID:
00962798
Views:
10
>Thanks it worked. Can you please explain what
>
>Textbox::GotFocus()
>
>does. I am not familar what that syntax.
>
>>Into the Textbox GotFocus as shown in the code.
>>
>>>Sorry but I do not understand your response. Where does that code go?
>>>
>>>>In addition to setiing SelectOnEntry=.T. put
* Textbox GotFocus
>>>>Textbox::GotFocus()
>>>>
Hi Claude,

explain examples code:
PROCEDURE Gotfocus
ENDPROC
* after endproc VFP do a Textbox::Gotfocus automatically
*-------
PROCEDURE Gotfocus
TextBox::gotfocus && execute internal gotfocus code
NODEFAULT
ENDPROC
* after endproc VFP do not execute the Textbox::Gotfocus
*------
PROCEDURE Gotfocus
NODEFAULT
ENDPROC
* after endproc VFP do not execute the Textbox::Gotfocus
* then VFP don't complete the gotfocus cycle, 
* and then start a form tab focus search  
*------
PROCEDURE Gotfocus
TextBox::gotfocus && execute internal gotfocus code
ENDPROC
* after endproc VFP execute the Textbox::Gotfocus
* the second gotfocus internal cycles clear
* the mouse events, and mouse don't remove the SelectOnentry
* text selection
Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform