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!

Indicating current component with Focus

Status
Not open for further replies.

StevenK

Programmer
Jan 5, 2001
1,294
GB
We've got a number of forms that we're perfecting user Tab-key operation with (using the Tab key to tab between data entry components). Sometimes we can't visually see which control has the focus. Is there a simple function/proceedure I can use to show the current form component with the focus.
This would help us determine which components have 'TabStop = True' that don't really need them. I'm hoping there's a simple answer to this that I've overlooked.
Thanks in advance
Steve
 
TForm.ActiveControl indicates which of the form's components has focus.
 
Cant you just "high light" the components by setting font
color or something like that, that's the way the i do it in my appz

BobbaFet Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
Thanks MikeEd for the suggestion. The TForm.ActiveControl recolved the issue.
Thanks again
Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top