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
;---------------------------------------------------------------
Vertical Scroll Bar
Started by
DjDeep00
, Oct 02 2004 10:21 PM
1 reply to this topic
#1
Posted 02 October 2004 - 10:21 PM
#2
Posted 02 October 2004 - 11:15 PM
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 syntax
I 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.au3
Also, 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
You can try out AutoBuilder to generate a GUI in the old syntax, then you could try converting it to the new syntax
I 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.au3
Also, 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!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





