Opened 14 years ago

Closed 14 years ago

#1580 closed Bug (Fixed)

Bug in example script for _GUICtrlRebar_Create()

Reported by: PsaltyDS Owned by: Jpm
Milestone: Component: Documentation
Version: Severity: None
Keywords: _GUICtrlRebar_Create Example Cc:


Ref user report by HighGuy:

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

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5766] in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.