Lazarus

Using the Lazarus IDE => Designer => Topic started by: WickedDum on November 14, 2016, 12:46:20 am

Title: [SOLVED] Tab order skips
Post 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!

Title: Re: Tab order skips
Post by: Blaazen on November 14, 2016, 01:07:27 am
Maybe ReadOnly property of some TEdit is True? BTW, you are on WIndows?
Title: Re: Tab order skips
Post by: lainz on November 14, 2016, 01:40:23 am
Quote
Where else should I look?

attach the form with no code so we can test it.
Title: Re: Tab order skips
Post by: WickedDum on November 15, 2016, 03:34:12 am
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!!
Title: Re: Tab order skips
Post by: lainz on November 16, 2016, 04:43:36 pm
Quote
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.

Quote
@lainz - I can still provide the exe if you want it.

Don't worry.
Title: Re: [SOLVED] Tab order skips
Post by: WickedDum on November 16, 2016, 07:29:28 pm
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!
TinyPortal © 2005-2018