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

Refresh problems with Listview controls within a tab control?

Status
Not open for further replies.

TheQuestioner

Programmer
Jun 29, 2002
78
GB
Hi, I'm having refresh problems with activex controls hosted within the pages of a standard Access tab control.

I've placed listview controls in each page of a four page tab. Yet the *first* time I select each tab the listview control, whilst running the form, the listview is not displayed in it's orginal location (as in design view).
Thereafter, clicking back to the same page, everything is normal?

Any ideas?
 
After much investigation, I discovered that although Access tab control is a container for other controls, it works very poorly with more complex controls, such as the listview control.

The best way around the problem that I had, was not to actually insert the listview control into the tab control, rather place it over it (i.e on the form) and hide/display it according to which tab is being clicked. You'll have to remember to setfocus as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top