Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Combo Boxes on a SSTab under Windows XP 1

Status
Not open for further replies.

hocko1

Programmer
Sep 28, 2003
1
AU
I am having problems with the behaviour of combo boxes on an SSTab when I run my application on an XP box.

I have multiple tabs, each with multiple combo boxes. When I switch between tabs, the text in all of the combo boxes is becoming highlighted. This occurs, even when the controls are disabled.

I can run the application on an NT box and I do not get this problem.

I can solve my problem by explicitly setting the SelLength property of the combo box to zero on the click event of the tab, however my app has hundreds of tabs with combo controls. In addition, when the user is updating or adding information, it is valid for the text on certain controls to be selected. Implementing a change to the SelLength property on the click event would get very messy.

Does anyone know if there is a better solution to this problem?
 
Try this:

Place a frame control on each tab.

Mark and Cut out the controls on a certain tab and then click on the frame which belongs to that tab and then paste the controls onto it.
Position and resize the frame as needed.

Do this for the controls on each tab.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top