Skip to content

Latest commit

 

History

History
49 lines (45 loc) · 3.31 KB

groupex.md

File metadata and controls

49 lines (45 loc) · 3.31 KB

About

The GroupEx.au3 can be used to create a custom group control. It consists of a set of labels. This allows an individual design of title, background and border or border parts.

Current

v 0.14

Functions

_GuiCtrlGroup_Create Creates a group control as collection of labels.
Returns a structure with IDs and settings of all group elements.
_GuiCtrlGroup_Close Starts a new group and so the previous group will closed.
Only required, if outside the group radio buttons following. But it can used to close each group.
_GuiCtrlGroup_Set Changes values of a _GuiCtrlGroup_Create() created control.
What to do is determined by the action flag passed.
For moving, an array of controls can be passed that will be moved along with it.
_GuiCtrlGroup_SetState Changes the state of a _GuiCtrlGroup_Create() created control. ($GUI_SHOW, $GUI_HIDE, $GUI_ENABLE, $GUI_DISABLE)
An array of controls in the group can be passed, and their status will be set as well.

See the GroupsEx_Example.au3 file for how it is applied.

Flags

BORDER COLOR SETTINGS
$_GROUPBORDER_LEFTLeft border
$_GROUPBORDER_TOPLTop border left from title
$_GROUPBORDER_TOPRTop border right from title
$_GROUPBORDER_TOPTop border (_TOPL & _TOPR)
$_GROUPBORDER_RIGHTRight border
$_GROUPBORDER_BOTTOMBottom border
$_GROUPBORDER_ALLFull border (all border parts)
TEXT SETTINGS
$_GROUPTEXT_FORESets text fore color.
$_GROUPTEXT_BACKSets text BG-color, should be $GUI_BKCOLOR_TRANSPARENT (default), if Group BG-color is diffent to GUI BG-color or same as Group BG-color.
$_GROUPTEXT_TRANSSets text BG-color to $GUI_BKCOLOR_TRANSPARENT
$_GROUPTEXT_TEXTSets the title text
$_GROUPTEXT_ITALICSets text style to italic
$_GROUPTEXT_DEFAULTSets text style back to normal
$_GROUPTEXT_LEFTSets text position to left side (default)
$_GROUPTEXT_CENTERSets text position centered
$_GROUPTEXT_RIGHTSets text position to right side
BACKGROUND COLOR GROUP
$_GROUPBACKGROUNDSets BG-color inside border area
MOVE / SIZE THE GROUP
$_GROUP_MOVE_ABSGive param as array [x,y,width,height], values that should not change set to '*'. You can also give values as comma seperated string: "x,y,width,height".
y,width,height by default has value '*', so you can omit them if not need to change. (values absolute in the child window)
$_GROUP_MOVE_RELSame as before, but given values relative to current position/size

Gallery

main

child