PDA

View Full Version : Setting Tab order



Rakesh_Kumar
11th May 2009, 11:29
Hi,

My exe is having two ActiveX QT DLLS. I need to set the tab order for these i.e when I reach at the last widget of the first control and then press tab it should go to next DLLS.

Now when I press the tab after last widget in the first control again it goes to first widget of the same control.

Please tell me how to release focus from the first control so that I can put it on the second control. Is there any signal generated by the widgets when tab is pressed.

Thanks in advance.

Regards
Rakesh

talk2amulya
11th May 2009, 11:51
have you read about


QWidget::setTabOrder(QWidget *, QWidget*)

Rakesh_Kumar
12th May 2009, 04:58
Hi,

I am setting the tab order by using the function QWidget::setTabOrder(QWidget *, QWidget*) only. This thing I can use inside one control only.

My requirement is different. As I mentioned in my first post, In a Qt container, I am having two QT DLLS. How to set tab order from the first DLL to second DLL in the container.

If I can get any signal from a widget when tab is pressed so I can handle that inside the container.

Regards
Rakesh