Tab

Creates a Tab control on the form.

TATab

 

Properties

ActivePage This is control's page, that will be active by default.
Align This is design only property and will not generate any code. This help to keep controls aligning while editing.
Cursor This property define what cursor will be showed when mouse over the control.
Enabled This is True by default. Set it to False to generate disabled control. This will add GUICtrlSetState(-1, $GUI_DISABLE) line.
Font This property allow to set font properties - color, font face, size and bold/italic/underline/strikeout attributes.
Left, Top Position of control relative to it's parent.
Width, Height Size of control in pixels.
Hint This property containing text that will appear when mouse cursor is over control. This will add GUICtrlSetTip(-1, "Your hint text") line. Note: don't forget to set ShowHint property to make hint visible.
Name Unique name of control, this define name of variable, where control ID will kept. It also can be empty, in this case variable will not generate.
OnClick Standard control event.
ShowHint This property enable hint showing.
TabOrder This property define in wich orders controls will be created. This is meaningful when you want switch between controls with Tab key. You also can use visual TabOrder editor. Tab order is start from 0.
Visible This is True by default. Set it to False to generate hidden control. This will add GUICtrlSetState(-1, $GUI_HIDE) line.

 

Remarks

After placing Tab control on the design form, you have to create one or more pages (sheets in Koda terminology). To do that click right mouse button on the Tab control. Click on the "Add tab sheet" item. New sheet will be added.

When working with control, note difference between whole tab selection and current sheet selection. Properties for Tab control and it's sheets are different!

To delete sheet first click on the current sheet (note sheet selection) and then select "Delete" from context menu or just press Del key on the keyboard.

Tab in Koda realization - container control.

Each sheet have own properties:

 
Caption This is caption of TabSheet.
Left, Top Position of Sheet relative to tab. This is can't be changed, just for your reference. Koda count this itself.
Width, Height Position of Sheet relative to tab. This is can't be changed, just for your reference. Koda count this itself.
Name Unique name of control, this define name of variable, where control ID will kept. It also can be empty, in this case variable will not generate.