Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion CCompoundControl.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Class CCompoundControl
Boundaries := ""
AddContainerControl(GUI, Type, Name, Options, Text)
{
this.Container.Insert(Name, GUI.AddControl(Type, "", Options, Text))
this.Container.Insert(Name, GUI.AddControl(Type, Name, Options, Text))
}
__Get(Key)
{
Expand Down Expand Up @@ -62,4 +62,18 @@ Class CCompoundControl
}
this.Boundaries := {x : x, y : y, width : w, height : h}
}

Hide()
{
this.Visible := false
for name, ctrl in this.Container
ctrl.Hide()
}

Show()
{
this.Visible := true
for name, ctrl in this.Container
ctrl.Show()
}
}