开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜