﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
683	Setting new text with _GUICtrlTab_SetItemText	Josbe	Gary	"Setting text with '''_GUICtrlTab_SetItemText()''' doesn't update the width of tabitem. The bug it seems produced from '''_GUICtrlTab_SetItem'''.
Example taken from Helpfile: 
{{{
#include <GuiConstantsEx.au3>
#include <GuiTab.au3>

Opt('MustDeclareVars', 1)

$Debug_TAB = False ; Check ClassName being passed to functions, set to True and use a handle to another control to see it work

_Main()

Func _Main()
	Local $hTab

	; Create GUI
	GUICreate(""Tab Control Set Item Text"", 400, 300)
	$hTab = GUICtrlCreateTab(2, 2, 396, 296)
	GUISetState()

	; Add tabs
	_GUICtrlTab_InsertItem($hTab, 0, ""Tab 1"")
	_GUICtrlTab_InsertItem($hTab, 1, ""Tab 2"")
	_GUICtrlTab_InsertItem($hTab, 2, ""Tab 3"")
	
	; Get/Set tab 1 text
	_GUICtrlTab_SetItemText($hTab, 0, ""New Text"")
	MsgBox(4160, ""Information"", ""Tab 1 text: "" & _GUICtrlTab_GetItemText($hTab, 0))

	; Loop until user exits
	Do
	Until GUIGetMsg() = $GUI_EVENT_CLOSE
	GUIDelete()
EndFunc   ;==>_Main
}}}
"	Bug	closed		Standard UDFs	3.2.12.1	None	No Bug	_GUICtrlTab_SetItemText, _GUICtrlTab_SetItem	
