tab stop order
Posted
#1
(In Topic #1575)
Enthusiast

Posted
Guru

QT behaves differently to GTK
The only sure fire way to get it to work exactly how you want is to use "Stop Event" in the key event and do it yourself.
Note: that code probably won't work because the ActiveControl.Next might be a label or a panel so you'll have to improve it to find the next control.
Posted
Administrator

Posted
Regular

BruceSteers said
Note: that code probably won't work because the ActiveControl.Next might be a label or a panel so you'll have to improve it to find the next control.
So true!!! I have yet to discover a satisfactory general solution to this.
b
Posted
Enthusiast

BruceSteers said
you'll find it depends on the toolkit.
QT behaves differently to GTK
The only sure fire way to get it to work exactly how you want is to use "Stop Event" in the key event and do it yourself.
Note: that code probably won't work because the ActiveControl.Next might be a label or a panel so you'll have to improve it to find the next control.
you are correct, that did not work. but it pointed me in the right direction. I am doing it in the individual control keyrelease event. It works except when I try to jump to a combobox. then it does nothing. I have several combo boxes I need to hit this way so if you have ideas on that it would help. Also the me.activecontol should be application.activecontrol I believe although as I said I am doing it in the controls adjacent to the problem ones. works for the check boxes but not comboboxes.
1 guest and 0 members have just viewed this.

