Lazarus
Using the Lazarus IDE => Designer => Topic started by: WickedDum on November 14, 2016, 12:46:20 am
-
My tab key is not functioning correctly? :D
I have attached a picture (TabOrderReOrdered.jpg) of the View->Tab Order list ordered by "Sort tab orders of all child controls of "Form1" by their positions?." I interpret this to be the proper flow order of the tabs. But it isn't working... :(
I also attached a picture (TabOrder.jpg) of the way the screen is reacting when I press the Tab key. The green numbers identify the current incorrect flow; the blue numbers show the desired flow of the tab stops.
As suggested in other posts, I have checked the properties of each Edit Control tab to ensure the TabOrder is correct; the TabStop is True; and the Visible is True.
Where else should I look?
Thanks!
-
Maybe ReadOnly property of some TEdit is True? BTW, you are on WIndows?
-
Where else should I look?
attach the form with no code so we can test it.
-
Thanks for your responses!!
When Blaazen said to check the ReadOnly property, I realized I hadn't mentioned it in the previous post. So I re-checked them...
And then I decided to once again go through the other Tab properties. Eureka!! I noticed that the Shipping Address field was assigned #19 (see OI ShAddr TabOrder.jpg) although the TabOrderofForm1.jpg and TabOrderReOrdered.jpg both have it set at #15. Did somebody say BUG?
Whew! Glad I saw it.
@lainz - I can still provide the exe if you want it.
@Blaazen - Check out my signature. It says I am running WIN8.1 64bit. ;)
Thank you, gentlemen, for your time and efforts on my behalf!!
-
And then I decided to once again go through the other Tab properties. Eureka!! I noticed that the Shipping Address field was assigned #19 (see OI ShAddr TabOrder.jpg) although the TabOrderofForm1.jpg and TabOrderReOrdered.jpg both have it set at #15. Did somebody say BUG?
Yes sometimes happens that you think it's everything ok so discard the most obvious error ::) And just that is the error.
@lainz - I can still provide the exe if you want it.
Don't worry.
-
Of course, it's always the last place you look!
I just figured the View->Tab Order list would be taken, and updated, from the TabOrder properties of the different fields.
Thanks for the info!