[AccessD] A2K: HT Set Focus...nowhere?

John Ruff papparuff at attbi.com
Thu Jun 5 13:10:30 CDT 2003


Two ways I know of to handle this situation.

1. Make all controls not enabled when you load the form and then have a
mechanism where they are enabled when you need them to be.

2. Add a textbox and make it's forecolor and backcolor transparent
(effectively hiding it).  On the form's load event set the focus to this
textbox.


John V. Ruff - The Eternal Optimist :-)
Always Looking For Contract Opportunities

Home: 253.588.2139
Cell: 253.307.2947
9306 Farwest Dr SW
Lakewood, WA 98498

"Commit to the Lord whatever you do,
                and your plans will succeed." Proverbs 16:3



-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher
Hawkins
Sent: Thursday, June 05, 2003 10:49 AM
To: accessd at databaseadvisors.com
Subject: [AccessD] A2K: HT Set Focus...nowhere?


This is driving me nuts.

For various reasons, I need a form to open with the focus set to no
control.  The controls must all have a Tab Order, but none can have the
focus when the form opens.

Heeeeeeeeeeeeeeeeeeeelp.

-Christopher-

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list