Maxpilot Posted August 4, 2007 Share Posted August 4, 2007 Hi, I'm new to AutoIt and I want to make a program where someone can push several buttons to control external devices that are connected over serial connection (COM Ports). The GUI should be a window with several "pages", where the user has one area with buttons to switch between these pages. These buttons shoud be visible all the time. The second area of the window should change dependent on which "main button" is pressed. After reading several tutorials and some scripts I see these solutions: 1. A GUI with Tabs. Thats not ideal, because the user should use a touchscreen and for this the tabs are not big enough. 2. A GUI where I show and hide the controls. Seems not to be a smart solution to me, where complexity rises with number of "pages" and buttons per page. 3. Multiple Windows (GUIs). Again - seems not ideal to me. Is there another solution, perhaps somehow with using client windows? Is it possible to have client windows as an area of the main GUI? And to show and hide them at once with all controls? Link to comment Share on other sites More sharing options...
Zedna Posted August 4, 2007 Share Posted August 4, 2007 Look at GUICtrlCreateTab() and GUICtrlCreateTabItem().Also look at Koda. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Siao Posted August 4, 2007 Share Posted August 4, 2007 If the tabs are not big enough, you can make them bigger by sending TCM_SETITEMSIZE message. For a handy way of doing it, see _Tab_SetItemSize in Auto3Lib. "be smart, drink your wine" Link to comment Share on other sites More sharing options...
Maxpilot Posted August 4, 2007 Author Share Posted August 4, 2007 Look at GUICtrlCreateTab() and GUICtrlCreateTabItem().Also look at Koda.Hi Zedna,thanks for your answer. I can not use tabs, because the tabs are not so good to select them with one finger on the screen (touchscreen), they are just too small to hit them reliably. Also I have a look at koda which is a very fine tool but I cannot create (at least I didn't find out how) child windows (forms in a form) with it.Greetings,Maxpilot Link to comment Share on other sites More sharing options...
Maxpilot Posted August 4, 2007 Author Share Posted August 4, 2007 If the tabs are not big enough, you can make them bigger by sending TCM_SETITEMSIZE message.For a handy way of doing it, see _Tab_SetItemSize in Auto3Lib.Great, thanks, that could do it. Example looks good, I'll have a closer look at that.GreetingsMaxpilot 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