carlosa Posted August 16, 2006 Share Posted August 16, 2006 hey guys, so i started a new script today and the oddest thing happened. i made a combo box and it worked fine, added a label on top and the combo box will only dorp if i click on the left upper corner of the widget. any help solving this issue would be greatly apricated.. if a comment the label out the in works fine. maybe it's a bug with the coord sys? cheers, Los. ;------------include--------------------------- #include <GUIConstants.au3>;include gui library #include <file.au3>;include file library ;-------------system varibles------------------- $toolName = "3dsStudioLuncher" $toolversion = ".001" $uiName = $toolName & " v" &$toolversion ;----------------GUI---------------------------- Opt("GUIOnEventMode",1);turn on event call back Opt("GUICoordMode",0) GUICreate($uiName,493,392) GUICtrlCreateLabel("Render Engine:",50,10,478,140) $rndrList = GUICtrlCreateCombo ("",100,-5,200,1000,BitOr($CBS_SIMPLE,$CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL)) GUICtrlSetData ($rndrList,"VRay|Default Scanline","VRay") GUISetState(@SW_Show) GUISetOnEvent($GUI_EVENT_CLOSE,"CLOSEUI") $guiOn = 1 While $guiOn sleep(10) WEnd ;---------------GUI Events-------------------- func CLOSEUI() $guiOn = 0 endfunc Carlos AnguianoSenior Technical Director/Pipeline EngineerRed magnet Studios Venice, CAhttp://www.redmagnetfx.com Link to comment Share on other sites More sharing options...
BPBNA Posted August 16, 2006 Share Posted August 16, 2006 (edited) Your label is overlapping the combobox. Try: ;------------include--------------------------- #include <GUIConstants.au3>;include gui library #include <file.au3>;include file library ;-------------system varibles------------------- $toolName = "3dsStudioLuncher" $toolversion = ".001" $uiName = $toolName & " v" &$toolversion ;----------------GUI---------------------------- Opt("GUIOnEventMode",1);turn on event call back Opt("GUICoordMode",0) GUICreate($uiName,493,392) GUICtrlCreateLabel("Render Engine:",50,10,100,140) $rndrList = GUICtrlCreateCombo ("",100,-5,200,1000,BitOr($CBS_SIMPLE,$CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL)) GUICtrlSetData ($rndrList,"VRay|Default Scanline","VRay") GUISetState(@SW_Show) GUISetOnEvent($GUI_EVENT_CLOSE,"CLOSEUI") $guiOn = 1 While $guiOn sleep(10) WEnd ;---------------GUI Events-------------------- func CLOSEUI() $guiOn = 0 endfunc Edited August 16, 2006 by BPBNA Link to comment Share on other sites More sharing options...
carlosa Posted August 17, 2006 Author Share Posted August 17, 2006 Your label is overlapping the combobox. Try: ;------------include--------------------------- #include <GUIConstants.au3>;include gui library #include <file.au3>;include file library ;-------------system varibles------------------- $toolName = "3dsStudioLuncher" $toolversion = ".001" $uiName = $toolName & " v" &$toolversion ;----------------GUI---------------------------- Opt("GUIOnEventMode",1);turn on event call back Opt("GUICoordMode",0) GUICreate($uiName,493,392) GUICtrlCreateLabel("Render Engine:",50,10,100,140) $rndrList = GUICtrlCreateCombo ("",100,-5,200,1000,BitOr($CBS_SIMPLE,$CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL)) GUICtrlSetData ($rndrList,"VRay|Default Scanline","VRay") GUISetState(@SW_Show) GUISetOnEvent($GUI_EVENT_CLOSE,"CLOSEUI") $guiOn = 1 While $guiOn sleep(10) WEnd ;---------------GUI Events-------------------- func CLOSEUI() $guiOn = 0 endfuncyou are totaly right dude, thanks for your help man...... cheers, Los. Carlos AnguianoSenior Technical Director/Pipeline EngineerRed magnet Studios Venice, CAhttp://www.redmagnetfx.com 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