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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listview coming through to top of SSTab Control

Status
Not open for further replies.

Syerston

Programmer
Jun 2, 2001
142
GB
Hi

I have a list view on the third tab of a SSTab control.

When the user is working at the top of the form the listview is not visible as the first tab has focus. However, when the listview is populated it comes to the front of the SSTab. I have tried sending it to the back but to no avail.

Would anybody have any ideas.

John
 
Try putting a frame on each page of the SSTab, set to the size of the tab.
Then put all of the contols for a certain tab, on the frame, including the ListView.

The SSTab hides a page/tab by moving all of the controls on that tab to something like .Left -72000.

Using a frame, the SSTab will only need to move that frame, and noth the ListView. If the ListView repositions itself, or becomes visible, it will not matter because it's container /the frame control) is still positioned out of site... [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
No

Doesn't seem to do it.

I thought this was one of the benefits of using the SSTab control, in that each tab was supposed to act as a individual frame.
John
 

>supposed to act as a individual frame

"Act", yes. In reallity they are not as explained before.
There have been numereous problems in the past with this control, including bleed throughs, and most have been fixed except one (even when CausesValidation=true, it will not if the controls are not on a container)

And you are using VB6 service pack 5 ?

Do you have code any where else which may be repositioning the ListView? Or, is the ListView's container really the frame, and the frame's container really the SSTab control?

Verify these first. [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Thanks for your help CCLINT using the frame as a container has solved the problem. John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top