J
Jon Shemitz
I have a TabControl (named Tabs) that shows search results. When the
result set changes, I do Tabs.Controls.Remove() to remove all but the
first TabPage, then I (maybe) create new TabPage-s. Works fine -
except when I switch desktops with MSVDM and then come back: Then,
next time I delete / recreate, I only get the tab buttons for the new
pages. Clicking the button hides the first tab, but then the new tab
never comes up. (I can bring up the first (non-dynamic) tab, but not
any of the others.)
I've tried various things, like setting EVERY property that the form
designer sets and/or explicitly disposing of the tab pages (and their
controls) instead of just Remove()ing them. Haven't found the ticket,
yet, and Google turns up nothing.
Are there known issues with the TabControl (or z-order in general) and
MSVDM? Work-arounds?
result set changes, I do Tabs.Controls.Remove() to remove all but the
first TabPage, then I (maybe) create new TabPage-s. Works fine -
except when I switch desktops with MSVDM and then come back: Then,
next time I delete / recreate, I only get the tab buttons for the new
pages. Clicking the button hides the first tab, but then the new tab
never comes up. (I can bring up the first (non-dynamic) tab, but not
any of the others.)
I've tried various things, like setting EVERY property that the form
designer sets and/or explicitly disposing of the tab pages (and their
controls) instead of just Remove()ing them. Haven't found the ticket,
yet, and Google turns up nothing.
Are there known issues with the TabControl (or z-order in general) and
MSVDM? Work-arounds?