DjDeep00 Posted October 2, 2004 Posted October 2, 2004 Please can someone help me with the following questions regarding my script? 1. I am unable to use the vertical scroll bar and view the two lists as the list gets larger. 2. I am unable to use the maximize, minimize, close button window. 3. Is there away I can scroll both of the lists at the same time? Thanks in advance. ;---------------------------------------------------------------------- Script: Opt("GuiNotifyMode",1) GUICreate("Title", 240, 100,100,100,0x00200000) $listbox1 = GuiSetControl ("list", "", 140,10,60,500) GUISetControlData($listbox1,"Item1|Item2|Item3|Item4|Item5|Item6") $listbox2 = GuiSetControl ("list", "", 80,10,60,500) GUISetControlData($listbox2,"Item1|Item2|Item3|Item4|Item5|Item6") $ADD = GUISetControl ("button", "ADD", 10,10,50,20) GuiShow() While GUIMsg() <> -3 $msg = GuiRead() Select case $msg = $ADD GUISetControlData($listbox1,"Item7|Item8|Item9|Item10|Item11|Item12") GUISetControlData($listbox2,"Item7|Item8|Item9|Item10|Item11|Item12") EndSelect Wend ;---------------------------------------------------------------
CyberSlug Posted October 2, 2004 Posted October 2, 2004 The GUI is going through massive changes right now, and the function names are completely different....You can try out AutoBuilder to generate a GUI in the old syntax, then you could try converting it to the new syntaxI have not seen a way to scroll list boxes at the same time, but http://www.autoitscript.com/fileman/users/public/CyberSlug/lb_wrappers_self-contained.au3...To get the minimize/maximize/close buttons to appear, make sure you are using the right style in GUICreate. Try removing 0x00200000 and look at http://www.autoitscript.com/fileman/users/public/CyberSlug/WindowStyles.png and http://www.autoitscript.com/fileman/users/public/CyberSlug/WindowStyles.au3Also, you will need to add the scrollbar style to the list box instead of to the window itself... I think the help file appendix had a list of control styles.Hope that helps Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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