Hiho
nächtes prob. ich denkmal der titel ist nciht so ganz klar
Meine buttons hab ich so deklariert
Spoiler anzeigen
Do
$verk1[$counter] = GUICtrlCreateButton ($buttonname[$counter], 100, $button_pos, 80)
$button_pos = $button_pos + 30
$counter = $counter + 1
Until $counter > 14
meine eventabfrage so
Spoiler anzeigen
While 1
$msg = GUIGetMsg(1)
Select
Case $msg[0] = $verk1[?]
;~ $tmpbutton1 = String ($tmpbutton)
;~ IF LABEL = "" DANN HINWEIS AUF NICHTS ELSE PROGSTART
;~ $tmppfad = IniRead(@scriptdir & "\verk\verk_pfade.ini", "Verknüpfung 1", $labelname[0] , "default" )
;~ Run($tmppfad)
MsgBox(0, "asdfasdf" ," ")
Case $msg[0] = $neu
_verkvergleich()
Case $msg[0] = $formatieren
_formatieren()
Case $msg[0] = $info
$gui_info = GUICreate ( "Infos" , 400 , 400 , 10 , 10 )
_info()
GUISetState(@SW_SHOW, $gui_info)
Case $msg[0] = $GUI_EVENT_CLOSE And $msg[1] = $gui_main
ExitLoop
Case $msg[0] = $GUI_EVENT_CLOSE And $msg[1] = $gui_info
GUIDelete($gui_info)
EndSelect
WEnd
so etz möcht ich aber ned 15 mal Case $msg[0] = $verk1[?] definieren und das muss ja irgendwie auch inner schleife gehen...
nur wie?