Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confessions of a SEX addict
Message
From
03/06/2005 15:06:13
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01016755
Message ID:
01020039
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform