Thanks for your answer. I thought that the GUI can be imported like this. The interesting thing is that I see the GUI, but the code is absolutely incomplete (only the code of the tab is shown, all other code is missing). My GUI consists of a tab control and some group boxes. Also the editing of the GUI doesn't work that well anymore, when I try to move an object on the GUI with the mouse, it moves below the cursor, i.e. the object to be moved is about 200px away from my mouse position.
Even if I add more GUI elements to the current GUI, the code does not update!
I made an example to show what I mean. So this is my test GUI that I havew created:
Code: Select all
; Generated by AutoGUI 2.6.2
#SingleInstance Force
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
Gui Add, Tab3, x0 y0 w706 h779, Tab 1|Tab 2|Tab 3
Gui Tab, 1
Gui Add, Button, x48 y72 w155 h34, &OK
Gui Add, Button, x231 y234 w80 h24, &OK
Gui Tab, 2
Gui Add, CheckBox, x134 y124 w120 h23, CheckBox
Gui Add, CheckBox, x331 y332 w120 h23, CheckBox
Gui Tab, 3
Gui Add, Radio, x56 y96 w120 h23, Radio Button
Gui Add, Radio, x210 y427 w120 h23, Radio Button
Gui Tab
Gui Show, w689 h763, Window
Return
GuiEscape:
GuiClose:
ExitApp
If I want to import the existing GUI the remaining code is:
Code: Select all
; Generated by AutoGUI 2.6.2
#SingleInstance Force
#NoEnv
SetWorkingDir %A_ScriptDir%
SetBatchLines -1
Gui Add, Tab3, x0 y0 w706 h779, Tab 1|Tab 2|Tab 3
Gui Show, w689 h763, Window
Return
GuiEscape:
GuiClose:
ExitApp
So as you can see most of the code was deleted by the import. The question is why?