Page 1 of 1

Bug: Gui Tab Control Change Event not work

Posted: 15 Dec 2018, 22:15
by rodemp

Code: Select all

Gui := GuiCreate()
tab := Gui.Add("tab", "w300 h100", "aaa|bbb|ccc")
tab.Onevent("Change","Tabchange")

Gui.Add("button"," x+10 y+10" ,"test")
Gui.OnEvent("Close", ()=>ExitApp())
Gui.OnEvent("Escape", ()=>ExitApp())
Gui.Show()

Tabchange(ctrl, n) {
	ToolTip "tab - " n "/" ctrl.value
}
Gui Tab Control Change Event not work in keyboard Navigation event

Tab change event is not called when changing a tab with Ctrl+Tab, Ctrl+Shift+Tab, Ctrl+PgUp&PgDn