Return to package dfl. www.dprogramming.com

module dfl.tabcontrol

classes
TabControl TabControlBase TabPage TabPageCollection
enums
TabAlignment TabAppearance TabDrawMode

TabAlignment
public enum TabAlignment: ubyte
{
	TOP,
	BOTTOM,
	LEFT,
	RIGHT,
}

TabAppearance
public enum TabAppearance: ubyte
{
	NORMAL,
	BUTTONS,
	FLAT_BUTTONS,
}

TabControl
public class TabControl: TabControlBase
{
public final TabAlignment alignment();    [property getter] public final void alignment(TabAlignment talign);    [property setter] public final void appearance(TabAppearance tappear);    [property setter] public final TabAppearance appearance();    [property getter] public final void multiline(bool byes);    [property setter] public final bool multiline();    [property getter] protected override void onHandleCreated(EventArgs ea); protected override void onLayout(LayoutEventArgs ea); protected override void onReflectedMessage(inout Message m); public final Point padding();    [property getter] public final void padding(Point pad);    [property setter] public final int rowCount();    [property getter] public final int selectedIndex();    [property getter] public final void selectedIndex(int i);    [property setter] public final TabPage selectedTab();    [property getter] public final void selectedTab(TabPage page);    [property setter] public final int tabCount();    [property getter] public final TabPageCollection tabPages();    [property getter] public this();
}

TabControlBase
public class TabControlBase: ControlSuperClass
{
protected override void createParams(inout CreateParams cp); protected override Size defaultSize();    [property getter] public override Rect displayRectangle();    [property getter] public final TabDrawMode drawMode();    [property getter] public final void drawMode(TabDrawMode dm);    [property setter] public final Rect getTabRect(int i); protected override void onReflectedMessage(inout Message m); protected void onSelectedIndexChanged(EventArgs ea); protected void onSelectedIndexChanging(CancelEventArgs ea); protected override void prevWndProc(inout Message msg); public this(); protected override void wndProc(inout Message m); public Event(TabControlBase,EventArgs) selectedIndexChanged; public Event(TabControlBase,CancelEventArgs) selectedIndexChanging;
}

TabDrawMode
public enum TabDrawMode: ubyte
{
	NORMAL,
	OWNER_DRAW_FIXED,
}

TabPage
public class TabPage: Panel
{
public int opCmp(char[] val); public override int opCmp(Object o); public override int opEquals(Object o); public int opEquals(char[] val); protected override void setBoundsCore(int x, int y, int width, int height, BoundsSpecified specified); protected override void setVisibleCore(bool byes); public override void text(char[] newText);    [property setter] public this(char[] tabText); public this(); public override char[] toString();
}

TabPageCollection
public class TabPageCollection
{
public this(TabControl owner);
}