CyberSlug Posted April 27, 2004 Posted April 27, 2004 Can an updown control be dynamically resized I have tried the following, but it does not work. [based on jpm's GuiUpDown.au3 example file] AutoItSetOption("TrayIconDebug", 1) ;AutoItSetOption("WinTitleMatchMode", 4) FileChangeDir(@Scriptdir) #include "GUI_include.au3" $title = "My Guy UpDown" GUICreate($title) $input = GUISetControl("input","2",10,10, 50, 20) $updown = GUISetControl("updown",$input,0,0) GuiSetControlEx(-1,0,0,"",0,10) ; Attempt to resize $input = GUISetControl($input, "2",10,10, 100, 40 ) $updown = GUISetControl($updown,$input,0,0) GuiWaitClose(3) msgbox(0,"Updown",GuiRead($input),2) Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
jpm Posted April 28, 2004 Posted April 28, 2004 (edited) I fix it gui.22 $title = "My Guy UpDown" GUICreate($title,-1,-1,-1,-1, 0x04CF0000, 0x00000110) $input = GUISetControl("input","2",10,10, 50, 20) $updown = GUISetControl("updown",$input,0,0) ; Attempt to resize GUISetControl($input, "2",10,10, 100, 40 ) GUISetControl($updown,$input,0,0) GuiWaitClose() msgbox(0,"Updown",GuiRead($input),2) Edited April 28, 2004 by jpm
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