开发者

Do parent controls have an effect on the TAB INDEX of the inner control?

开发者 https://www.devze.com 2023-03-08 03:10 出处:网络
In my form I have a splitter and then a panel inside it and then an ActiveX control from VB 6.0 (It is something like a tree co开发者_Python百科ntrol) inside this panel.

In my form I have a splitter and then a panel inside it and then an ActiveX control from VB 6.0 (It is something like a tree co开发者_Python百科ntrol) inside this panel.

I have set a TabIndex for this ActiveX control and set the TabStop to true and also set the Tabstop of its parents like panel,splitter,etc to false.

But when I press TAB key focus does not move to this control... why is that?! what can I do?


By disabling TabStop on the parent controls you also skip all children, so just don't do it and it should fix your issue. (Didn't test, but should work that way.)

0

精彩评论

暂无评论...
验证码 换一张
取 消