Did found out changing names on tabs are not entirely easy programmatically. Toralf did found a really simple method though many years ago, but it comes with a sideeffect which im wondering if its fixable. When the name change occurs it always skips to Tab1 and activates it, despite the Guicontrol Focus to prevent it. Any ideas how to stay on tab2 during whole name change?
Code: Select all
Gui,Add,Tab,vTabs,Hi|Hello Gui,Tab, 1 Gui,Tab, 2 Gui,Add,Edit,w200,Bug Here? Gui,Add,Edit,w200 vtyping gTypeHere,TypeHere Gui,Show Return TypeHere: GuiControl, Text,Tabs,|Hi*|Hello* GuiControl, Focus, typing return