Up |
_CRtabFromTab
Create a tabs control from another tabs control.
Prototype :
fun [Chn ObjTab I I I I I] ObjTab
- Chn : the owner channel
- ObjTab : the parent tabs control.
- I : the 'x' coordinate inside the parent.
- I : the 'y' coordinate inside the parent.
- I : the width of the tabs control.
- I : the height of the tabs control.
- I : a flag, a combination of these values :
- TAB_BOTTOM : the tab bar is at the bottom
- TAB_FIXEDWIDTH : each tab has a fixed size
- TAB_FOCUSBYMOUSE : the mouse over a tab should give the focus (default)
- TAB_RIGHT : the tab bar is vertical, at the right side
- TAB_HIDDEN : the tabs control is hidden
- TAB_SHOWN : the tabs control is shwown (default)
- TAB_ISMULTILINE : the tabs control can be on several lines
- TAB_VERTICAL : the tab bar is vertical, on the left side.
Return : ObjTab the new ObjTab object if success, NIL otherwise
See also :
Example :