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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to suppress highligting of field

Status
Not open for further replies.

projecttoday

Programmer
Feb 28, 2004
208
US
Is there any way to suppress the highlighting of the control on the form with the first tab stop when the form is opened or a new record is diplayed?

Robert
 
How are ya projecttoday . . .

[ol][li]Add a hidden textbox to the detail area. Name it [blue]ParkCsr[/blue].[/li]
[li]Set it 1st in the [blue]Tab Order[/blue].[/li]
[li]In the [blue]On Load[/blue] event of the form:
Code:
[blue]   Me!ParkCsr.SetFocus[/blue]
[/li][/ol]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
Also faq181-2886
 
You cannot set the focus to an object if the visible property is set to NO. You can, however, set the height and width properties to 0.


Randy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top