Sascha Posted August 22 Share Posted August 22 (edited) @philpw99 ; ... Other AutoIt code lines ; include the gui code Include "myGui.isf" ; run the main declaration function then get a map variable, which contains all control handles. $mMyGUI = mygui() ; Manipulate the controls GUICtrlSetData( $mMyGUI.MyTextCtrl, "Text for my edit") GUICtrlSetData( $mMyGUI.MyList, "item1|item2|item3") ; Show the GUI by using gui handle. GuiSetState($mMyGUI.handle) How did you do that? The function mygui() ist not part of the automatic gernerated code or did i miss something? I created a form project and included testform.isf and i have not been able to call the testform() function. Regard Sascha Edited August 24 by Sascha Link to comment Share on other sites More sharing options...
asdasf Posted August 22 Share Posted August 22 I'm a Korean. Korean language is lost in logs and console windows. Korean is also broken in au3 files. I can't even comment The tools are great. But my Korean is broken, so I can't use it. Link to comment Share on other sites More sharing options...
ISI360 Posted August 26 Author Share Posted August 26 On 8/22/2023 at 2:17 PM, Sascha said: @philpw99 ; ... Other AutoIt code lines ; include the gui code Include "myGui.isf" ; run the main declaration function then get a map variable, which contains all control handles. $mMyGUI = mygui() ; Manipulate the controls GUICtrlSetData( $mMyGUI.MyTextCtrl, "Text for my edit") GUICtrlSetData( $mMyGUI.MyList, "item1|item2|item3") ; Show the GUI by using gui handle. GuiSetState($mMyGUI.handle) How did you do that? The function mygui() ist not part of the automatic gernerated code or did i miss something? I created a form project and included testform.isf and i have not been able to call the testform() function. Regard Sascha You need to switch to "Return the gui in a map"-mode in the Formstudio. (It´s in the GUI Settings -> AutoIt Code Settings) You can also check the Testproject 4 on my website, it´s all about that new feature. Link to comment Share on other sites More sharing options...
Sascha Posted August 28 Share Posted August 28 On 8/26/2023 at 6:14 PM, ISI360 said: You need to switch to "Return the gui in a map"-mode in the Formstudio. (It´s in the GUI Settings -> AutoIt Code Settings) You can also check the Testproject 4 on my website, it´s all about that new feature. @ISI360 Thank you. Now it works. Nice job. Regards Sascha Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now