#include <GUIConstants.au3>
$hMainGui=GUICreate('',400,300)
$n=0
Dim $Button[5][5]
For $x=0 to 4 ;Создаём кнопки 5х5
For $y=0 to 4
$n+=1
$Button[$y][$x]=GUICtrlCreateButton($n,($y+1)*25+10,($x+1)*25+10)
Next
Next
GUISetState(@SW_SHOW,$hMainGui)
Sleep(2000);Пауза 2 сек
GUICtrlSetData($Button[1][3],'88');Меняем название кнопки 17 на 88
While 1
$msg = GUIGetMsg()
Select
Case $msg= $GUI_EVENT_CLOSE
Exit
EndSelect
WEnd