Posts: 55
Threads: 19
Joined: Apr 2018
Reputation:
0
I am having all kinds of tab order issues.
I would like to manually set my taborder at runtime, but if I try to set the taborder to say 1000 it will immediately changes to say 24.
I must be missing something. How can I manually control the taborder at runtime?
Posts: 226
Threads: 4
Joined: Mar 2018
Reputation:
22
Hi Joel,
I can't answer your question immediately as my system isn't handy, but I can tell you that one of the first questions others trying to help will want to know are the version of IW and Delphi. If you provide those it will help get a faster answer.
Dan
Posts: 10
Threads: 1
Joined: Mar 2018
Reputation:
0
08-08-2018, 01:41 PM
(This post was last modified: 08-08-2018, 02:44 PM by ScottWGast.
Edit Reason: typo
)
After struggling with the tab order in IW apps every time I added a new field to a screen, I finally ended up programmatically setting the TabIndex, TabOrder and TabStop properties on each of the edit components, in order, when I create the form.
This seems to be the only practical way to ensure the correct tab order.
Also, .ZIndex can be troublesome if you are using dialogs or any type of 'psudo-modal' window.
Just my $0.02 worth.
Scott
Posts: 10
Threads: 1
Joined: Mar 2018
Reputation:
0
I use OnCreate, then I don't have to worry about it each time the screen is rendered.
Yes, I also use CGDevTools, but I do not set InnerEdit.TabOrder value.
It seems to work as expected and I rarely have tab order issues any more.
HTH!
Posts: 16
Threads: 0
Joined: Apr 2018
Reputation:
0
Location: israel
i tried to change the TabIndex, TabOrder and TabStop properties too, but still have problems with some CG controls.
iw and TMS controls works fine for me, but some CG controls really drove me crazy.
i wasted MANY hours on it, so i gave up trying for now...