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

Use the TAB key to move focus to a listview

Status
Not open for further replies.

Kenbla

Programmer
Oct 11, 2006
68
SE
Hi there! I have run into a problem with my Delphi XE application! I have a form where the users can search for records, the result of the search are displayed in a listview. All that works fine, now to the problem! When the user use the TAB key to move around in the form they can't get to the listview even though the TabStop and TabOrder properties are set accordingly! I can sometimes get to the listview by pressing the DOWN key but it appears to be randomly and of course not user friendly!
I want to be able to move around the form by using the TAB key only, first among the items in search part and when I'm on the last search item I want to move focus to the first displayed item in the listview by using the TAB key.
Is this a known bug or have I messed something up in my code?
As I said the properties seems to be OK!
Any helg is greatly appreciated!
Regards,
Kenbla
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top