Leider sind bei dir die Zahlen alle nebeneinander, was nicht der üblichen Form für Taschenrechner entspricht...
Siehe mal hier, nun habe ich doch tatsächlich die Zahlen durcheinander gebracht !
Spoiler anzeigen
; calcnew_by_Mario_Eckert
Global $arZiffern[10]
Global $ar2D[10][2] = [["31", "225"],["31", "75"],["84", "75"], _
["137", "75"],["31", "125"],["84", "125"],["137", "125"],["31", "175"], _
["84", "175"],["137", "175"]]
$main = GUICreate("Calculator", 300, 335)
GUISetBkColor(0x003366) ;i blue
For $i = 0 To 9
$arZiffern[$i] = GUICtrlCreateButton($i, $ar2D[$i][0], $ar2D[$i][1], 35, 35)
Next
GUISetState()
[/autoit] [autoit][/autoit] [autoit]While 1
Switch GUIGetMsg()
Case - 3
Exit
EndSwitch
WEnd
; Ende
[/autoit] [autoit][/autoit] [autoit];$0 = GUICtrlCreateButton ("0", 31, 225, 35, 35)
;$1 = GUICtrlCreateButton ("1", 31, 75, 35, 35)
;$2 = GUICtrlCreateButton ("2", 84, 75, 35, 35)
;$3 = GUICtrlCreateButton ("3", 137, 75, 35, 35)
;$4 = GUICtrlCreateButton ("4", 31, 125, 35, 35)
;$5 = GUICtrlCreateButton ("5", 84, 125, 35, 35)
;$6 = GUICtrlCreateButton("6", 137, 125, 35, 35)
;$7 = GUICtrlCreateButton ("7", 31, 175, 35, 35)
;$8 = GUICtrlCreateButton ("8", 84, 175, 35, 35)
;$9 = GUICtrlCreateButton("9", 137, 175, 35, 35)
Viel Erfolg ! ![]()