﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1580	Bug in example script for _GUICtrlRebar_Create()	PsaltyDS	Jpm	"Ref user report by HighGuy:  [http://www.autoitscript.com/forum/index.php?showtopic=113245]

When the example script GUI for _GUICtrlRebar_Create() is minimized and restored, the input box loses is position on the ReBar.  Should have use the UDF _GuiCtrlEdit_Create() control vice the native GuiCtrlCreateInput().  These changes fix it:  
{{{
#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
}}}
"	Bug	closed	3.3.7.0	Documentation	3.3.6.1	None	Fixed	_GUICtrlRebar_Create Example	
