Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide cursor, or, Unfocus field 1

Status
Not open for further replies.

mulligh

Technical User
May 8, 2001
97
US
I have a switchboard form when my database first opens. I originally used the built in buttons to create links to forms, etc. It used to set focus on the first button in the list of options.

Now I created some new customized buttons with a graphics editor, and now when the switchboard form opens, it is setting the focus to a field (not updatable) in a subform and now that whole field is highlighted with a flashing cursor.

My question is, how can I get it to not set the focus on this subform field? It won't allow me to set focus to the new button objects because it says they cannot receive the focus. I don't have any other objects on the screen that I can set the focus to. My preference is for nothing to receive the focus.
 
Go through your fields and set the tab stop property to "no" for each field. That way you won't get a cursor. Right now the 1st field in your sub-form has the lowest tab index so it's getting the focus. Maq B-)
<insert witty signature here>
 
Thanks Maq. Unfortunately this didn't work for me. It still wanted to focus that field. So I just created a transparent button and set the focus to that. Hey, whatever works!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top