>"Eduardo B. Fonseca" <e...@aedsol.com> writes:
>
>
>
>>Hi everyone,
>>
>> Is there any way to hide the tabs on wxNotebook? My application,
>>sometimes, only has one tab available for the user and I would like to
>>hide it when this happens, and show them again when two or more are
>>available.
>>
>>
>There are two methods provided for removing pages from the notebook. One
>method, DeletePage(), will remove the page from the notebook and destroy the
>window. The other method, RemovePage(), will simply remove the page from the
>notebook but leave the window intact (but hidden). In order to restore it, you
>would simply add the removed page back into the notebook. The one downside to
>this approach is that the tab itself will disappear. If what you are after is
>being able to disable the tabs and show them as such, I have no idea.
>
>
>Regards,
>
>Jon Trauntvein
>
Perhaps after removing the page, you could change the window's parent
(to the notebook's parent) and show it again.
Is there any way to hide the tabs on wxNotebook? My application,
sometimes, only has one tab available for the user and I would like to
hide it when this happens, and show them again when two or more are
available.
Thanks!
--
Eduardo B. Fonseca
Account Manager
e...@aedsol.com
> Hi everyone,
>
> Is there any way to hide the tabs on wxNotebook? My application,
> sometimes, only has one tab available for the user and I would like to
> hide it when this happens, and show them again when two or more are
> available.