We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Q: Making the tabs of the TabPageEx control of 0 height

Hi, Does anyone kown how to make TabPageEx Items of height 0. I’m trying to make a wizard and I thought the best solution would be to use the tab control (easy in design time). But I need to make the taps height zero. Setting the itemSize property = Size(0,0) does not work. Is there anyway of achieving this? Marc Algera [email protected]

3 Replies

AD Administrator Syncfusion Team July 10, 2002 08:40 AM UTC

Hi, A better way is to use the CardLayout manager. It manages a set of "Cards" (could be Panels in your case) within a Parent Control (could be another Panel) and also provides a easy design-time to switch between the different cards easily. -Praveen Ramesh Syncfusion, Inc


RM Rollan Mosko September 16, 2002 07:06 PM UTC

Hi Praveen, I'm doing something similar as well where I have a couple of radio buttons and want to selectively display controls depending on the option selected. I tried using a TabControlEx as a container for the cardlayout control and it doesn't seem to work as intended. The cardlayout seems more useful building controls from code as opposed to design time(as some of syncfusions samples show). The zero height TabControl would be ideal so we can add/refine our controls easily during design-time without a confusing mess of controls overlayed on top of each other. thanks, Rollan


AD Administrator Syncfusion Team September 18, 2002 10:54 AM UTC

Rollan, Using a CardLayout and TabControlExt togather seems very redundant. Did you notice that when you double-click on the CardLayout's "CardNames" property in the designer (or select a new "Card" in the property bag's dropdown), you could easily switch between the different "Cards". Regards, Praveen Ramesh

Loader.
Up arrow icon