Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select contents of a text box when clicking on it.
Message
De
18/11/2004 15:14:20
 
 
À
18/11/2004 14:50:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00962350
Message ID:
00962798
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform