Code: Select all
gui, new
gui, add, Tab2, AltSubmit vTabs gTabs, First|Second|Third
gui, show, autosize
return
Tabs:
Gui, Submit, NoHide
gui, tab, %Tabs%
First_Tab()
return
First_Tab()
{
global
gui, add, Edit, x20 y40 w100 vEdit_1
}
Code: Select all
gui, new
gui, add, Tab2, AltSubmit vTabs gTabs, First|Second|Third
gui, show, autosize
return
Tabs:
Gui, Submit, NoHide
gui, tab, %Tabs%
First_Tab()
return
First_Tab()
{
global
gui, add, Edit, x20 y40 w100 vEdit_1
}
Code: Select all
.
.
.
Tab(5)
Return
Tab(no) {
Loop % no
Gui, Add, Edit,% "x20 y40 w100 vEdit_" . A_Index ; you might change the coords accordingly
}
It looks like you are adding Unique Variable vEdit_1, vEdit_2, vEdit_3 instead of the same named Variable to each TAB like vEdit_1, vEdit_1, vEdit_1BoBo wrote:Code: Select all
Gui, Add, Edit,% "x20 y40 w100 vEdit_" . A_Index ; you might change the coords accordingly }