Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Confessions of a SEX addict
Message
De
03/06/2005 15:06:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01016755
Message ID:
01020039
Vues:
25
Terry,

>Sometimes I need to "idle" a focus away from a control, I use a little-bitty tansparent (not invisible) textbox control that I hide behind some other control on the form. When I need to loose the focus - I setfocus to the tiny textbox.

I use the same technique only I place my textbox offscreen where it can never be seen, i.e. This.Move( -1000, -1000 )

Two problems with this technique:

1. I don't want the current control to lose focus causing premature validation

2. Even with focus moved elsewhere, other input controls can still bleed through a container.

Herman Tan asked me to post an example which I will do over the next day or so. (Have to simplify my code so I don't end up posting an entire framework)

>That Dragan - where would the digital rights cause of everyday form controls be without Dragan's advocations!:-)

LOL!

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform