Answer» Hey Guys,
I have a VB app that has a SECONDARY toolbar with a few buttons, i can easily hide the toolbar using .VISIBLE = false but my TAB panel stays in the same location.
i tried using this on a CLICK event on a certain tab and resizing tab panel and MOVING but it does it for every click ie
if tabpage.selected = true then tabpanel.height += 30 tabpanel.location.x -= 30
else tabpanel.height -= 30 tabpanel.location.x += 30
end if
so that works if i click on the tab and click off, but if i click on another tab first it obviously decreases the size.
im thinking i should use something to catch an unselect event of the specific tab to reduce the size and that way it only does it when supposed to, any ideas?
|