HighGuy Posted April 19, 2010 Share Posted April 19, 2010 Hi, if I'm using the help example of GUICtrlRebar_Create() the input control gets disorganized after minimizing and restoring the GUI (I'm using v3.3.6.0 on Windows XP). Can someone please confirm this behavior or is it only a problem of my pc. Thanks, HighGuy Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 20, 2010 Share Posted April 20, 2010 (edited) The example script is wrong (same problem on Vista SP2 32bit with 3.3.6.1). Here's are the fixes to the example script in the help file under _GUICtrlRebar_Create(): #include <GuiEdit.au3> ; ... Func _Main() ; ... ; create a input box to put in the rebar ; $hInput = GUICtrlCreateInput("Input control", 0, 0, 120, 20) $hInput = _GUICtrlEdit_Create($hgui, "Input control", 0, 0, 120, 20) ; ... ;add another control ; _GUICtrlReBar_AddBand($hReBar, GUICtrlGetHandle($hInput), 120, 200, "Name:") _GUICtrlRebar_AddBand($hReBar, $hInput, 120, 200, "Name:") ; ... EndFunc ;==>_Main Basically, use UDF _GuiCtrlEdit* vice the native AutoIt Input control.Edit: Added BugTrac #1580 to document the fix. Edited April 20, 2010 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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