Button on/off

  • Moin.

    Habe habe ein Gui erstellt mit einigen Buttons. Ist noch lange nicht alle die drauf sollen. :)

    Nun die Fragen:

    1.) Wie mache ich die Buttons alle leuchtent gelb?

    2.) Wie blende ich bei Bedarf Buttons aus?

    3.) Wie blende ich bei Bedarf Buttons auch wieder ein?

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    $Form1 = GUICreate("lightbox", 768, 282, 148, 281)
    GUISetBkColor(0x000000)

    [/autoit] [autoit][/autoit] [autoit]

    $a1 = GUICtrlCreateButton("", 8, 8, 17, 25, 0)
    $a2 = GUICtrlCreateButton("", 24, 8, 17, 25, 0)
    $a3 = GUICtrlCreateButton("", 40, 8, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $b1 = GUICtrlCreateButton("", 8, 32, 17, 25, 0)
    $b2 = GUICtrlCreateButton("", 24, 32, 17, 25, 0)
    $b3 = GUICtrlCreateButton("", 40, 32, 17, 25, 0)

    $c1 = GUICtrlCreateButton("", 8, 56, 17, 25, 0)
    $c2 = GUICtrlCreateButton("", 24, 56, 17, 25, 0)
    $c3 = GUICtrlCreateButton("", 40, 56, 17, 25, 0)

    $d1 = GUICtrlCreateButton("", 8, 80, 17, 25, 0)
    $d2 = GUICtrlCreateButton("", 24, 80, 17, 25, 0)
    $d3 = GUICtrlCreateButton("", 40, 80, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $e1 = GUICtrlCreateButton("", 8, 104, 17, 25, 0)
    $e2 = GUICtrlCreateButton("", 24, 104, 17, 25, 0)
    $e3 = GUICtrlCreateButton("", 40, 104, 17, 25, 0)

    $f1 = GUICtrlCreateButton("", 8, 128, 17, 25, 0)
    $f2 = GUICtrlCreateButton("", 24, 128, 17, 25, 0)
    $f3 = GUICtrlCreateButton("", 40, 128, 17, 25, 0)

    $g1 = GUICtrlCreateButton("", 8, 152, 17, 25, 0)
    $g2 = GUICtrlCreateButton("", 24, 152, 17, 25, 0)
    $g3 = GUICtrlCreateButton("", 40, 152, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $h1 = GUICtrlCreateButton("", 8, 176, 17, 25, 0)
    $h2 = GUICtrlCreateButton("", 24, 176, 17, 25, 0)
    $h3 = GUICtrlCreateButton("", 40, 176, 17, 25, 0)

    $i1 = GUICtrlCreateButton("", 8, 200, 17, 25, 0)
    $i2 = GUICtrlCreateButton("", 24, 200, 17, 25, 0)
    $i3 = GUICtrlCreateButton("", 40, 200, 17, 25, 0)

    $j1 = GUICtrlCreateButton("", 8, 224, 17, 25, 0)
    $j2 = GUICtrlCreateButton("", 24, 224, 17, 25, 0)
    $j3 = GUICtrlCreateButton("", 40, 224, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $k1 = GUICtrlCreateButton("", 8, 248, 17, 25, 0)
    $k2 = GUICtrlCreateButton("", 24, 248, 17, 25, 0)
    $k3 = GUICtrlCreateButton("", 40, 248, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    GUISetState(@SW_SHOW)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit

    [/autoit] [autoit][/autoit] [autoit]

    EndSwitch
    WEnd

    [/autoit]

    LG Lina

    Lieben Gruß,
    Alina

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Geheime Information: ;)
    OuBVU5ebLhHu5QvlnAyQB4A7SzBrvWulwL7RLl2BdH5tI6sIYspeMKeXMSXl

    Einmal editiert, zuletzt von Alina (7. Juni 2007 um 15:14)

  • Hallo th.meger.

    Also, das bekomme ich irgendwie nicht hin.

    Versuche $a3 = GUICtrlCreateButton("", 40, 8, 17, 25, 0)
    auszublenden. aber das möchte nicht so wie ich :(

    Kannst Du mir mal ein Beispiel geben?

    Und vielleicht auch wie man es dann wieder einblendet? nach sleep 1200.

    LG Lina

    Lieben Gruß,
    Alina

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Geheime Information: ;)
    OuBVU5ebLhHu5QvlnAyQB4A7SzBrvWulwL7RLl2BdH5tI6sIYspeMKeXMSXl

    • Offizieller Beitrag

    Hi,

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>
    Global $status = True
    GUICreate("My GUI Button") ; will create a dialog box that when displayed is centered

    [/autoit] [autoit][/autoit] [autoit]

    Opt("GUICoordMode", 2)
    $Button_1 = GUICtrlCreateButton("Button zeigen/verstecken", 10, 30, 150)
    $Button_2 = GUICtrlCreateButton("Button Test", 0, -1)

    [/autoit] [autoit][/autoit] [autoit]

    GUISetState() ; will display an dialog box with 2 button

    [/autoit] [autoit][/autoit] [autoit]

    ; Run the GUI until the dialog is closed
    While 1
    $msg = GUIGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
    ExitLoop
    Case $msg = $Button_1
    If $status Then GUICtrlSetState($Button_2, $GUI_HIDE)
    If Not $status Then GUICtrlSetState($Button_2, $GUI_SHOW)
    $status = Not $status
    Case $msg = $Button_2
    MsgBox(0, 'Testing', 'Button 2 was pressed') ; Will demonstrate Button 2 being pressed
    EndSelect
    WEnd

    [/autoit]

    So long,

    Mega

  • Hallo th.meger

    Also kann ich auch folgendes machen?

    sleep(500)
    GUICtrlSetState($Button_2, $GUI_HIDE)
    sleep (500)
    GUICtrlSetState($Button_2, $GUI_SHOW)


    würde doch bringen, das der Button verschwindet und nach 0,5 Sekunden wieder da ist, oder?

    Hintergedanken ist, das ich immer Buttons ausblenden möchte und wieder einblenden möchte. Aber keine Angst, sind nur 473 Stück, die eine Rolle spielen. Ja, richtig gelesen, 473 Stück (11 x 43).

    LG Lina

    Lieben Gruß,
    Alina

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Geheime Information: ;)
    OuBVU5ebLhHu5QvlnAyQB4A7SzBrvWulwL7RLl2BdH5tI6sIYspeMKeXMSXl

    • Offizieller Beitrag

    Hallo Alina,

    wenn Du 473 Buttons erzeugen willst dann aber hoffentlich nicht so wie Du oben angefangen hast ($a1 - $a43, ..., $k1 - $k43), oder?

    Das wäre doch ein gutes Bsp. um sich mal mit Arrays auseinanderzusetzen!

    • Offizieller Beitrag

    Hi,

    da kann ich bernd nur Recht geben. Vor allem, wenn du ständig die ControlIDs brauchst, um den Status zu setzen usw.

    In diesem Fall wirst du wahrscheinlich eh ein Array nutzen. Die Frage wäre dann, ob du die ControlID-Variablen ins Array packst, oder das Buttonarray durchläufst.

    So long,

    Mega

  • Hallo ihr beide.

    Also Arrays sind für mich immer noch in der Umsetzung nicht gerade einfach. Wie sagt man, das sind für mich Bödeschi-Wälder.

    Wenn ich Arrays verstehen würde, würde ich sie glatt anwenden. :(

    So sieht es bis dato aus:

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    $GUI1 = GUICreate("Lightbox", 768, 302, 148, 281)
    GUISetBkColor(0x000000)

    [/autoit] [autoit][/autoit] [autoit]

    $a1 = GUICtrlCreateButton("", 8, 8, 17, 25, 0)
    $a2 = GUICtrlCreateButton("", 24, 8, 17, 25, 0)
    $a3 = GUICtrlCreateButton("", 40, 8, 17, 25, 0)
    $a4 = GUICtrlCreateButton("", 56, 8, 17, 25, 0)
    $a5 = GUICtrlCreateButton("", 72, 8, 17, 25, 0)
    $a6 = GUICtrlCreateButton("", 88, 8, 17, 25, 0)
    $a7 = GUICtrlCreateButton("", 104, 8, 17, 25, 0)
    $a7 = GUICtrlCreateButton("", 120, 8, 17, 25, 0)
    $a8 = GUICtrlCreateButton("", 136, 8, 17, 25, 0)
    $a9 = GUICtrlCreateButton("", 152, 8, 17, 25, 0)
    $a10 = GUICtrlCreateButton("", 168, 8, 17, 25, 0)
    $a11 = GUICtrlCreateButton("", 184, 8, 17, 25, 0)
    $a12 = GUICtrlCreateButton("", 200, 8, 17, 25, 0)
    $a13 = GUICtrlCreateButton("", 216, 8, 17, 25, 0)
    $a14 = GUICtrlCreateButton("", 232, 8, 17, 25, 0)
    $a15 = GUICtrlCreateButton("", 248, 8, 17, 25, 0)
    $a16 = GUICtrlCreateButton("", 264, 8, 17, 25, 0)
    $a17 = GUICtrlCreateButton("", 280, 8, 17, 25, 0)
    $a17 = GUICtrlCreateButton("", 296, 8, 17, 25, 0)
    $a18 = GUICtrlCreateButton("", 312, 8, 17, 25, 0)
    $a19 = GUICtrlCreateButton("", 328, 8, 17, 25, 0)
    $a20 = GUICtrlCreateButton("", 344, 8, 17, 25, 0)
    $a21 = GUICtrlCreateButton("", 360, 8, 17, 25, 0)
    $a22 = GUICtrlCreateButton("", 376, 8, 17, 25, 0)
    $a23 = GUICtrlCreateButton("", 392, 8, 17, 25, 0)
    $a24 = GUICtrlCreateButton("", 408, 8, 17, 25, 0)
    $a25 = GUICtrlCreateButton("", 424, 8, 17, 25, 0)
    $a26 = GUICtrlCreateButton("", 440, 8, 17, 25, 0)
    $a27 = GUICtrlCreateButton("", 456, 8, 17, 25, 0)
    $a27 = GUICtrlCreateButton("", 472, 8, 17, 25, 0)
    $a28 = GUICtrlCreateButton("", 488, 8, 17, 25, 0)
    $a29 = GUICtrlCreateButton("", 504, 8, 17, 25, 0)
    $a30 = GUICtrlCreateButton("", 520, 8, 17, 25, 0)
    $a31 = GUICtrlCreateButton("", 536, 8, 17, 25, 0)
    $a32 = GUICtrlCreateButton("", 552, 8, 17, 25, 0)
    $a33 = GUICtrlCreateButton("", 568, 8, 17, 25, 0)
    $a34 = GUICtrlCreateButton("", 584, 8, 17, 25, 0)
    $a35 = GUICtrlCreateButton("", 600, 8, 17, 25, 0)
    $a36 = GUICtrlCreateButton("", 616, 8, 17, 25, 0)
    $a37 = GUICtrlCreateButton("", 632, 8, 17, 25, 0)
    $a37 = GUICtrlCreateButton("", 648, 8, 17, 25, 0)
    $a38 = GUICtrlCreateButton("", 664, 8, 17, 25, 0)
    $a39 = GUICtrlCreateButton("", 680, 8, 17, 25, 0)
    $a40 = GUICtrlCreateButton("", 696, 8, 17, 25, 0)
    $a41 = GUICtrlCreateButton("", 712, 8, 17, 25, 0)
    $a42 = GUICtrlCreateButton("", 728, 8, 17, 25, 0)
    $a43 = GUICtrlCreateButton("", 744, 8, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $b1 = GUICtrlCreateButton("", 8, 34, 17, 25, 0)
    $b2 = GUICtrlCreateButton("", 24, 34, 17, 25, 0)
    $b3 = GUICtrlCreateButton("", 40, 34, 17, 25, 0)
    $b4 = GUICtrlCreateButton("", 56, 34, 17, 25, 0)
    $b5 = GUICtrlCreateButton("", 72, 34, 17, 25, 0)
    $b6 = GUICtrlCreateButton("", 88, 34, 17, 25, 0)
    $b7 = GUICtrlCreateButton("", 104, 34, 17, 25, 0)
    $b7 = GUICtrlCreateButton("", 120, 34, 17, 25, 0)
    $b8 = GUICtrlCreateButton("", 136, 34, 17, 25, 0)
    $b9 = GUICtrlCreateButton("", 152, 34, 17, 25, 0)
    $b10 = GUICtrlCreateButton("", 168, 34, 17, 25, 0)
    $b11 = GUICtrlCreateButton("", 184, 34, 17, 25, 0)
    $b12 = GUICtrlCreateButton("", 200, 34, 17, 25, 0)
    $b13 = GUICtrlCreateButton("", 216, 34, 17, 25, 0)
    $b14 = GUICtrlCreateButton("", 232, 34, 17, 25, 0)
    $b15 = GUICtrlCreateButton("", 248, 34, 17, 25, 0)
    $b16 = GUICtrlCreateButton("", 264, 34, 17, 25, 0)
    $b17 = GUICtrlCreateButton("", 280, 34, 17, 25, 0)
    $b17 = GUICtrlCreateButton("", 296, 34, 17, 25, 0)
    $b18 = GUICtrlCreateButton("", 312, 34, 17, 25, 0)
    $b19 = GUICtrlCreateButton("", 328, 34, 17, 25, 0)
    $b20 = GUICtrlCreateButton("", 344, 34, 17, 25, 0)
    $b21 = GUICtrlCreateButton("", 360, 34, 17, 25, 0)
    $b22 = GUICtrlCreateButton("", 376, 34, 17, 25, 0)
    $b23 = GUICtrlCreateButton("", 392, 34, 17, 25, 0)
    $b24 = GUICtrlCreateButton("", 408, 34, 17, 25, 0)
    $b25 = GUICtrlCreateButton("", 424, 34, 17, 25, 0)
    $b26 = GUICtrlCreateButton("", 440, 34, 17, 25, 0)
    $b27 = GUICtrlCreateButton("", 456, 34, 17, 25, 0)
    $b27 = GUICtrlCreateButton("", 472, 34, 17, 25, 0)
    $b28 = GUICtrlCreateButton("", 488, 34, 17, 25, 0)
    $b29 = GUICtrlCreateButton("", 504, 34, 17, 25, 0)
    $b30 = GUICtrlCreateButton("", 520, 34, 17, 25, 0)
    $b31 = GUICtrlCreateButton("", 536, 34, 17, 25, 0)
    $b32 = GUICtrlCreateButton("", 552, 34, 17, 25, 0)
    $b33 = GUICtrlCreateButton("", 568, 34, 17, 25, 0)
    $b34 = GUICtrlCreateButton("", 584, 34, 17, 25, 0)
    $b35 = GUICtrlCreateButton("", 600, 34, 17, 25, 0)
    $b36 = GUICtrlCreateButton("", 616, 34, 17, 25, 0)
    $b37 = GUICtrlCreateButton("", 632, 34, 17, 25, 0)
    $b37 = GUICtrlCreateButton("", 648, 34, 17, 25, 0)
    $b38 = GUICtrlCreateButton("", 664, 34, 17, 25, 0)
    $b39 = GUICtrlCreateButton("", 680, 34, 17, 25, 0)
    $b40 = GUICtrlCreateButton("", 696, 34, 17, 25, 0)
    $b41 = GUICtrlCreateButton("", 712, 34, 17, 25, 0)
    $b42 = GUICtrlCreateButton("", 728, 34, 17, 25, 0)
    $b43 = GUICtrlCreateButton("", 744, 34, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $c1 = GUICtrlCreateButton("", 8, 60, 17, 25, 0)
    $c2 = GUICtrlCreateButton("", 24, 60, 17, 25, 0)
    $c3 = GUICtrlCreateButton("", 40, 60, 17, 25, 0)
    $c4 = GUICtrlCreateButton("", 56, 60, 17, 25, 0)
    $c5 = GUICtrlCreateButton("", 72, 60, 17, 25, 0)
    $c6 = GUICtrlCreateButton("", 88, 60, 17, 25, 0)
    $c7 = GUICtrlCreateButton("", 104, 60, 17, 25, 0)
    $c7 = GUICtrlCreateButton("", 120, 60, 17, 25, 0)
    $c8 = GUICtrlCreateButton("", 136, 60, 17, 25, 0)
    $c9 = GUICtrlCreateButton("", 152, 60, 17, 25, 0)
    $c10 = GUICtrlCreateButton("", 168, 60, 17, 25, 0)
    $c11 = GUICtrlCreateButton("", 184, 60, 17, 25, 0)
    $c12 = GUICtrlCreateButton("", 200, 60, 17, 25, 0)
    $c13 = GUICtrlCreateButton("", 216, 60, 17, 25, 0)
    $c14 = GUICtrlCreateButton("", 232, 60, 17, 25, 0)
    $c15 = GUICtrlCreateButton("", 248, 60, 17, 25, 0)
    $c16 = GUICtrlCreateButton("", 264, 60, 17, 25, 0)
    $c17 = GUICtrlCreateButton("", 280, 60, 17, 25, 0)
    $c17 = GUICtrlCreateButton("", 296, 60, 17, 25, 0)
    $c18 = GUICtrlCreateButton("", 312, 60, 17, 25, 0)
    $c19 = GUICtrlCreateButton("", 328, 60, 17, 25, 0)
    $c20 = GUICtrlCreateButton("", 344, 60, 17, 25, 0)
    $c21 = GUICtrlCreateButton("", 360, 60, 17, 25, 0)
    $c22 = GUICtrlCreateButton("", 376, 60, 17, 25, 0)
    $c23 = GUICtrlCreateButton("", 392, 60, 17, 25, 0)
    $c24 = GUICtrlCreateButton("", 408, 60, 17, 25, 0)
    $c25 = GUICtrlCreateButton("", 424, 60, 17, 25, 0)
    $c26 = GUICtrlCreateButton("", 440, 60, 17, 25, 0)
    $c27 = GUICtrlCreateButton("", 456, 60, 17, 25, 0)
    $c27 = GUICtrlCreateButton("", 472, 60, 17, 25, 0)
    $c28 = GUICtrlCreateButton("", 488, 60, 17, 25, 0)
    $c29 = GUICtrlCreateButton("", 504, 60, 17, 25, 0)
    $c30 = GUICtrlCreateButton("", 520, 60, 17, 25, 0)
    $c31 = GUICtrlCreateButton("", 536, 60, 17, 25, 0)
    $c32 = GUICtrlCreateButton("", 552, 60, 17, 25, 0)
    $c33 = GUICtrlCreateButton("", 568, 60, 17, 25, 0)
    $c34 = GUICtrlCreateButton("", 584, 60, 17, 25, 0)
    $c35 = GUICtrlCreateButton("", 600, 60, 17, 25, 0)
    $c36 = GUICtrlCreateButton("", 616, 60, 17, 25, 0)
    $c37 = GUICtrlCreateButton("", 632, 60, 17, 25, 0)
    $c37 = GUICtrlCreateButton("", 648, 60, 17, 25, 0)
    $c38 = GUICtrlCreateButton("", 664, 60, 17, 25, 0)
    $c39 = GUICtrlCreateButton("", 680, 60, 17, 25, 0)
    $c40 = GUICtrlCreateButton("", 696, 60, 17, 25, 0)
    $c41 = GUICtrlCreateButton("", 712, 60, 17, 25, 0)
    $c42 = GUICtrlCreateButton("", 728, 60, 17, 25, 0)
    $c43 = GUICtrlCreateButton("", 744, 60, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $d1 = GUICtrlCreateButton("", 8, 86, 17, 25, 0)
    $d2 = GUICtrlCreateButton("", 24, 86, 17, 25, 0)
    $d3 = GUICtrlCreateButton("", 40, 86, 17, 25, 0)
    $d4 = GUICtrlCreateButton("", 56, 86, 17, 25, 0)
    $d5 = GUICtrlCreateButton("", 72, 86, 17, 25, 0)
    $d6 = GUICtrlCreateButton("", 88, 86, 17, 25, 0)
    $d7 = GUICtrlCreateButton("", 104, 86, 17, 25, 0)
    $d7 = GUICtrlCreateButton("", 120, 86, 17, 25, 0)
    $d8 = GUICtrlCreateButton("", 136, 86, 17, 25, 0)
    $d9 = GUICtrlCreateButton("", 152, 86, 17, 25, 0)
    $d10 = GUICtrlCreateButton("", 168, 86, 17, 25, 0)
    $d11 = GUICtrlCreateButton("", 184, 86, 17, 25, 0)
    $d12 = GUICtrlCreateButton("", 200, 86, 17, 25, 0)
    $d13 = GUICtrlCreateButton("", 216, 86, 17, 25, 0)
    $d14 = GUICtrlCreateButton("", 232, 86, 17, 25, 0)
    $d15 = GUICtrlCreateButton("", 248, 86, 17, 25, 0)
    $d16 = GUICtrlCreateButton("", 264, 86, 17, 25, 0)
    $d17 = GUICtrlCreateButton("", 280, 86, 17, 25, 0)
    $d17 = GUICtrlCreateButton("", 296, 86, 17, 25, 0)
    $d18 = GUICtrlCreateButton("", 312, 86, 17, 25, 0)
    $d19 = GUICtrlCreateButton("", 328, 86, 17, 25, 0)
    $d20 = GUICtrlCreateButton("", 344, 86, 17, 25, 0)
    $d21 = GUICtrlCreateButton("", 360, 86, 17, 25, 0)
    $d22 = GUICtrlCreateButton("", 376, 86, 17, 25, 0)
    $d23 = GUICtrlCreateButton("", 392, 86, 17, 25, 0)
    $d24 = GUICtrlCreateButton("", 408, 86, 17, 25, 0)
    $d25 = GUICtrlCreateButton("", 424, 86, 17, 25, 0)
    $d26 = GUICtrlCreateButton("", 440, 86, 17, 25, 0)
    $d27 = GUICtrlCreateButton("", 456, 86, 17, 25, 0)
    $d27 = GUICtrlCreateButton("", 472, 86, 17, 25, 0)
    $d28 = GUICtrlCreateButton("", 488, 86, 17, 25, 0)
    $d29 = GUICtrlCreateButton("", 504, 86, 17, 25, 0)
    $d30 = GUICtrlCreateButton("", 520, 86, 17, 25, 0)
    $d31 = GUICtrlCreateButton("", 536, 86, 17, 25, 0)
    $d32 = GUICtrlCreateButton("", 552, 86, 17, 25, 0)
    $d33 = GUICtrlCreateButton("", 568, 86, 17, 25, 0)
    $d34 = GUICtrlCreateButton("", 584, 86, 17, 25, 0)
    $d35 = GUICtrlCreateButton("", 600, 86, 17, 25, 0)
    $d36 = GUICtrlCreateButton("", 616, 86, 17, 25, 0)
    $d37 = GUICtrlCreateButton("", 632, 86, 17, 25, 0)
    $d37 = GUICtrlCreateButton("", 648, 86, 17, 25, 0)
    $d38 = GUICtrlCreateButton("", 664, 86, 17, 25, 0)
    $d39 = GUICtrlCreateButton("", 680, 86, 17, 25, 0)
    $d40 = GUICtrlCreateButton("", 696, 86, 17, 25, 0)
    $d41 = GUICtrlCreateButton("", 712, 86, 17, 25, 0)
    $d42 = GUICtrlCreateButton("", 728, 86, 17, 25, 0)
    $d43 = GUICtrlCreateButton("", 744, 86, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $e1 = GUICtrlCreateButton("", 8, 112, 17, 25, 0)
    $e2 = GUICtrlCreateButton("", 24, 112, 17, 25, 0)
    $e3 = GUICtrlCreateButton("", 40, 112, 17, 25, 0)
    $e4 = GUICtrlCreateButton("", 56, 112, 17, 25, 0)
    $e5 = GUICtrlCreateButton("", 72, 112, 17, 25, 0)
    $e6 = GUICtrlCreateButton("", 88, 112, 17, 25, 0)
    $e7 = GUICtrlCreateButton("", 104, 112, 17, 25, 0)
    $e7 = GUICtrlCreateButton("", 120, 112, 17, 25, 0)
    $e8 = GUICtrlCreateButton("", 136, 112, 17, 25, 0)
    $e9 = GUICtrlCreateButton("", 152, 112, 17, 25, 0)
    $e10 = GUICtrlCreateButton("", 168, 112, 17, 25, 0)
    $e11 = GUICtrlCreateButton("", 184, 112, 17, 25, 0)
    $e12 = GUICtrlCreateButton("", 200, 112, 17, 25, 0)
    $e13 = GUICtrlCreateButton("", 216, 112, 17, 25, 0)
    $e14 = GUICtrlCreateButton("", 232, 112, 17, 25, 0)
    $e15 = GUICtrlCreateButton("", 248, 112, 17, 25, 0)
    $e16 = GUICtrlCreateButton("", 264, 112, 17, 25, 0)
    $e17 = GUICtrlCreateButton("", 280, 112, 17, 25, 0)
    $e17 = GUICtrlCreateButton("", 296, 112, 17, 25, 0)
    $e18 = GUICtrlCreateButton("", 312, 112, 17, 25, 0)
    $e19 = GUICtrlCreateButton("", 328, 112, 17, 25, 0)
    $e20 = GUICtrlCreateButton("", 344, 112, 17, 25, 0)
    $e21 = GUICtrlCreateButton("", 360, 112, 17, 25, 0)
    $e22 = GUICtrlCreateButton("", 376, 112, 17, 25, 0)
    $e23 = GUICtrlCreateButton("", 392, 112, 17, 25, 0)
    $e24 = GUICtrlCreateButton("", 408, 112, 17, 25, 0)
    $e25 = GUICtrlCreateButton("", 424, 112, 17, 25, 0)
    $e26 = GUICtrlCreateButton("", 440, 112, 17, 25, 0)
    $e27 = GUICtrlCreateButton("", 456, 112, 17, 25, 0)
    $e27 = GUICtrlCreateButton("", 472, 112, 17, 25, 0)
    $e28 = GUICtrlCreateButton("", 488, 112, 17, 25, 0)
    $e29 = GUICtrlCreateButton("", 504, 112, 17, 25, 0)
    $e30 = GUICtrlCreateButton("", 520, 112, 17, 25, 0)
    $e31 = GUICtrlCreateButton("", 536, 112, 17, 25, 0)
    $e32 = GUICtrlCreateButton("", 552, 112, 17, 25, 0)
    $e33 = GUICtrlCreateButton("", 568, 112, 17, 25, 0)
    $e34 = GUICtrlCreateButton("", 584, 112, 17, 25, 0)
    $e35 = GUICtrlCreateButton("", 600, 112, 17, 25, 0)
    $e36 = GUICtrlCreateButton("", 616, 112, 17, 25, 0)
    $e37 = GUICtrlCreateButton("", 632, 112, 17, 25, 0)
    $e37 = GUICtrlCreateButton("", 648, 112, 17, 25, 0)
    $e38 = GUICtrlCreateButton("", 664, 112, 17, 25, 0)
    $e39 = GUICtrlCreateButton("", 680, 112, 17, 25, 0)
    $e40 = GUICtrlCreateButton("", 696, 112, 17, 25, 0)
    $e41 = GUICtrlCreateButton("", 712, 112, 17, 25, 0)
    $e42 = GUICtrlCreateButton("", 728, 112, 17, 25, 0)
    $e43 = GUICtrlCreateButton("", 744, 112, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $f1 = GUICtrlCreateButton("", 8, 138, 17, 25, 0)
    $f2 = GUICtrlCreateButton("", 24, 138, 17, 25, 0)
    $f3 = GUICtrlCreateButton("", 40, 138, 17, 25, 0)
    $f4 = GUICtrlCreateButton("", 56, 138, 17, 25, 0)
    $f5 = GUICtrlCreateButton("", 72, 138, 17, 25, 0)
    $f6 = GUICtrlCreateButton("", 88, 138, 17, 25, 0)
    $f7 = GUICtrlCreateButton("", 104, 138, 17, 25, 0)
    $f7 = GUICtrlCreateButton("", 120, 138, 17, 25, 0)
    $f8 = GUICtrlCreateButton("", 136, 138, 17, 25, 0)
    $f9 = GUICtrlCreateButton("", 152, 138, 17, 25, 0)
    $f10 = GUICtrlCreateButton("", 168, 138, 17, 25, 0)
    $f11 = GUICtrlCreateButton("", 184, 138, 17, 25, 0)
    $f12 = GUICtrlCreateButton("", 200, 138, 17, 25, 0)
    $f13 = GUICtrlCreateButton("", 216, 138, 17, 25, 0)
    $f14 = GUICtrlCreateButton("", 232, 138, 17, 25, 0)
    $f15 = GUICtrlCreateButton("", 248, 138, 17, 25, 0)
    $f16 = GUICtrlCreateButton("", 264, 138, 17, 25, 0)
    $f17 = GUICtrlCreateButton("", 280, 138, 17, 25, 0)
    $f17 = GUICtrlCreateButton("", 296, 138, 17, 25, 0)
    $f18 = GUICtrlCreateButton("", 312, 138, 17, 25, 0)
    $f19 = GUICtrlCreateButton("", 328, 138, 17, 25, 0)
    $f20 = GUICtrlCreateButton("", 344, 138, 17, 25, 0)
    $f21 = GUICtrlCreateButton("", 360, 138, 17, 25, 0)
    $f22 = GUICtrlCreateButton("", 376, 138, 17, 25, 0)
    $f23 = GUICtrlCreateButton("", 392, 138, 17, 25, 0)
    $f24 = GUICtrlCreateButton("", 408, 138, 17, 25, 0)
    $f25 = GUICtrlCreateButton("", 424, 138, 17, 25, 0)
    $f26 = GUICtrlCreateButton("", 440, 138, 17, 25, 0)
    $f27 = GUICtrlCreateButton("", 456, 138, 17, 25, 0)
    $f27 = GUICtrlCreateButton("", 472, 138, 17, 25, 0)
    $f28 = GUICtrlCreateButton("", 488, 138, 17, 25, 0)
    $f29 = GUICtrlCreateButton("", 504, 138, 17, 25, 0)
    $f30 = GUICtrlCreateButton("", 520, 138, 17, 25, 0)
    $f31 = GUICtrlCreateButton("", 536, 138, 17, 25, 0)
    $f32 = GUICtrlCreateButton("", 552, 138, 17, 25, 0)
    $f33 = GUICtrlCreateButton("", 568, 138, 17, 25, 0)
    $f34 = GUICtrlCreateButton("", 584, 138, 17, 25, 0)
    $f35 = GUICtrlCreateButton("", 600, 138, 17, 25, 0)
    $f36 = GUICtrlCreateButton("", 616, 138, 17, 25, 0)
    $f37 = GUICtrlCreateButton("", 632, 138, 17, 25, 0)
    $f37 = GUICtrlCreateButton("", 648, 138, 17, 25, 0)
    $f38 = GUICtrlCreateButton("", 664, 138, 17, 25, 0)
    $f39 = GUICtrlCreateButton("", 680, 138, 17, 25, 0)
    $f40 = GUICtrlCreateButton("", 696, 138, 17, 25, 0)
    $f41 = GUICtrlCreateButton("", 712, 138, 17, 25, 0)
    $f42 = GUICtrlCreateButton("", 728, 138, 17, 25, 0)
    $f43 = GUICtrlCreateButton("", 744, 138, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $g1 = GUICtrlCreateButton("", 8, 164, 17, 25, 0)
    $g2 = GUICtrlCreateButton("", 24, 164, 17, 25, 0)
    $g3 = GUICtrlCreateButton("", 40, 164, 17, 25, 0)
    $g4 = GUICtrlCreateButton("", 56, 164, 17, 25, 0)
    $g5 = GUICtrlCreateButton("", 72, 164, 17, 25, 0)
    $g6 = GUICtrlCreateButton("", 88, 164, 17, 25, 0)
    $g7 = GUICtrlCreateButton("", 104, 164, 17, 25, 0)
    $g7 = GUICtrlCreateButton("", 120, 164, 17, 25, 0)
    $g8 = GUICtrlCreateButton("", 136, 164, 17, 25, 0)
    $g9 = GUICtrlCreateButton("", 152, 164, 17, 25, 0)
    $g10 = GUICtrlCreateButton("", 168, 164, 17, 25, 0)
    $g11 = GUICtrlCreateButton("", 184, 164, 17, 25, 0)
    $g12 = GUICtrlCreateButton("", 200, 164, 17, 25, 0)
    $g13 = GUICtrlCreateButton("", 216, 164, 17, 25, 0)
    $g14 = GUICtrlCreateButton("", 232, 164, 17, 25, 0)
    $g15 = GUICtrlCreateButton("", 248, 164, 17, 25, 0)
    $g16 = GUICtrlCreateButton("", 264, 164, 17, 25, 0)
    $g17 = GUICtrlCreateButton("", 280, 164, 17, 25, 0)
    $g17 = GUICtrlCreateButton("", 296, 164, 17, 25, 0)
    $g18 = GUICtrlCreateButton("", 312, 164, 17, 25, 0)
    $g19 = GUICtrlCreateButton("", 328, 164, 17, 25, 0)
    $g20 = GUICtrlCreateButton("", 344, 164, 17, 25, 0)
    $g21 = GUICtrlCreateButton("", 360, 164, 17, 25, 0)
    $g22 = GUICtrlCreateButton("", 376, 164, 17, 25, 0)
    $g23 = GUICtrlCreateButton("", 392, 164, 17, 25, 0)
    $g24 = GUICtrlCreateButton("", 408, 164, 17, 25, 0)
    $g25 = GUICtrlCreateButton("", 424, 164, 17, 25, 0)
    $g26 = GUICtrlCreateButton("", 440, 164, 17, 25, 0)
    $g27 = GUICtrlCreateButton("", 456, 164, 17, 25, 0)
    $g27 = GUICtrlCreateButton("", 472, 164, 17, 25, 0)
    $g28 = GUICtrlCreateButton("", 488, 164, 17, 25, 0)
    $g29 = GUICtrlCreateButton("", 504, 164, 17, 25, 0)
    $g30 = GUICtrlCreateButton("", 520, 164, 17, 25, 0)
    $g31 = GUICtrlCreateButton("", 536, 164, 17, 25, 0)
    $g32 = GUICtrlCreateButton("", 552, 164, 17, 25, 0)
    $g33 = GUICtrlCreateButton("", 568, 164, 17, 25, 0)
    $g34 = GUICtrlCreateButton("", 584, 164, 17, 25, 0)
    $g35 = GUICtrlCreateButton("", 600, 164, 17, 25, 0)
    $g36 = GUICtrlCreateButton("", 616, 164, 17, 25, 0)
    $g37 = GUICtrlCreateButton("", 632, 164, 17, 25, 0)
    $g37 = GUICtrlCreateButton("", 648, 164, 17, 25, 0)
    $g38 = GUICtrlCreateButton("", 664, 164, 17, 25, 0)
    $g39 = GUICtrlCreateButton("", 680, 164, 17, 25, 0)
    $g40 = GUICtrlCreateButton("", 696, 164, 17, 25, 0)
    $g41 = GUICtrlCreateButton("", 712, 164, 17, 25, 0)
    $g42 = GUICtrlCreateButton("", 728, 164, 17, 25, 0)
    $g43 = GUICtrlCreateButton("", 744, 164, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $h1 = GUICtrlCreateButton("", 8, 190, 17, 25, 0)
    $h2 = GUICtrlCreateButton("", 24, 190, 17, 25, 0)
    $h3 = GUICtrlCreateButton("", 40, 190, 17, 25, 0)
    $h4 = GUICtrlCreateButton("", 56, 190, 17, 25, 0)
    $h5 = GUICtrlCreateButton("", 72, 190, 17, 25, 0)
    $h6 = GUICtrlCreateButton("", 88, 190, 17, 25, 0)
    $h7 = GUICtrlCreateButton("", 104, 190, 17, 25, 0)
    $h7 = GUICtrlCreateButton("", 120, 190, 17, 25, 0)
    $h8 = GUICtrlCreateButton("", 136, 190, 17, 25, 0)
    $h9 = GUICtrlCreateButton("", 152, 190, 17, 25, 0)
    $h10 = GUICtrlCreateButton("", 168, 190, 17, 25, 0)
    $h11 = GUICtrlCreateButton("", 184, 190, 17, 25, 0)
    $h12 = GUICtrlCreateButton("", 200, 190, 17, 25, 0)
    $h13 = GUICtrlCreateButton("", 216, 190, 17, 25, 0)
    $h14 = GUICtrlCreateButton("", 232, 190, 17, 25, 0)
    $h15 = GUICtrlCreateButton("", 248, 190, 17, 25, 0)
    $h16 = GUICtrlCreateButton("", 264, 190, 17, 25, 0)
    $h17 = GUICtrlCreateButton("", 280, 190, 17, 25, 0)
    $h17 = GUICtrlCreateButton("", 296, 190, 17, 25, 0)
    $h18 = GUICtrlCreateButton("", 312, 190, 17, 25, 0)
    $h19 = GUICtrlCreateButton("", 328, 190, 17, 25, 0)
    $h20 = GUICtrlCreateButton("", 344, 190, 17, 25, 0)
    $h21 = GUICtrlCreateButton("", 360, 190, 17, 25, 0)
    $h22 = GUICtrlCreateButton("", 376, 190, 17, 25, 0)
    $h23 = GUICtrlCreateButton("", 392, 190, 17, 25, 0)
    $h24 = GUICtrlCreateButton("", 408, 190, 17, 25, 0)
    $h25 = GUICtrlCreateButton("", 424, 190, 17, 25, 0)
    $h26 = GUICtrlCreateButton("", 440, 190, 17, 25, 0)
    $h27 = GUICtrlCreateButton("", 456, 190, 17, 25, 0)
    $h27 = GUICtrlCreateButton("", 472, 190, 17, 25, 0)
    $h28 = GUICtrlCreateButton("", 488, 190, 17, 25, 0)
    $h29 = GUICtrlCreateButton("", 504, 190, 17, 25, 0)
    $h30 = GUICtrlCreateButton("", 520, 190, 17, 25, 0)
    $h31 = GUICtrlCreateButton("", 536, 190, 17, 25, 0)
    $h32 = GUICtrlCreateButton("", 552, 190, 17, 25, 0)
    $h33 = GUICtrlCreateButton("", 568, 190, 17, 25, 0)
    $h34 = GUICtrlCreateButton("", 584, 190, 17, 25, 0)
    $h35 = GUICtrlCreateButton("", 600, 190, 17, 25, 0)
    $h36 = GUICtrlCreateButton("", 616, 190, 17, 25, 0)
    $h37 = GUICtrlCreateButton("", 632, 190, 17, 25, 0)
    $h37 = GUICtrlCreateButton("", 648, 190, 17, 25, 0)
    $h38 = GUICtrlCreateButton("", 664, 190, 17, 25, 0)
    $h39 = GUICtrlCreateButton("", 680, 190, 17, 25, 0)
    $h40 = GUICtrlCreateButton("", 696, 190, 17, 25, 0)
    $h41 = GUICtrlCreateButton("", 712, 190, 17, 25, 0)
    $h42 = GUICtrlCreateButton("", 728, 190, 17, 25, 0)
    $h43 = GUICtrlCreateButton("", 744, 190, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $i1 = GUICtrlCreateButton("", 8, 216, 17, 25, 0)
    $i2 = GUICtrlCreateButton("", 24, 216, 17, 25, 0)
    $i3 = GUICtrlCreateButton("", 40, 216, 17, 25, 0)
    $i4 = GUICtrlCreateButton("", 56, 216, 17, 25, 0)
    $i5 = GUICtrlCreateButton("", 72, 216, 17, 25, 0)
    $i6 = GUICtrlCreateButton("", 88, 216, 17, 25, 0)
    $i7 = GUICtrlCreateButton("", 104, 216, 17, 25, 0)
    $i7 = GUICtrlCreateButton("", 120, 216, 17, 25, 0)
    $i8 = GUICtrlCreateButton("", 136, 216, 17, 25, 0)
    $i9 = GUICtrlCreateButton("", 152, 216, 17, 25, 0)
    $i10 = GUICtrlCreateButton("", 168, 216, 17, 25, 0)
    $i11 = GUICtrlCreateButton("", 184, 216, 17, 25, 0)
    $i12 = GUICtrlCreateButton("", 200, 216, 17, 25, 0)
    $i13 = GUICtrlCreateButton("", 216, 216, 17, 25, 0)
    $i14 = GUICtrlCreateButton("", 232, 216, 17, 25, 0)
    $i15 = GUICtrlCreateButton("", 248, 216, 17, 25, 0)
    $i16 = GUICtrlCreateButton("", 264, 216, 17, 25, 0)
    $i17 = GUICtrlCreateButton("", 280, 216, 17, 25, 0)
    $i17 = GUICtrlCreateButton("", 296, 216, 17, 25, 0)
    $i18 = GUICtrlCreateButton("", 312, 216, 17, 25, 0)
    $i19 = GUICtrlCreateButton("", 328, 216, 17, 25, 0)
    $i20 = GUICtrlCreateButton("", 344, 216, 17, 25, 0)
    $i21 = GUICtrlCreateButton("", 360, 216, 17, 25, 0)
    $i22 = GUICtrlCreateButton("", 376, 216, 17, 25, 0)
    $i23 = GUICtrlCreateButton("", 392, 216, 17, 25, 0)
    $i24 = GUICtrlCreateButton("", 408, 216, 17, 25, 0)
    $i25 = GUICtrlCreateButton("", 424, 216, 17, 25, 0)
    $i26 = GUICtrlCreateButton("", 440, 216, 17, 25, 0)
    $i27 = GUICtrlCreateButton("", 456, 216, 17, 25, 0)
    $i27 = GUICtrlCreateButton("", 472, 216, 17, 25, 0)
    $i28 = GUICtrlCreateButton("", 488, 216, 17, 25, 0)
    $i29 = GUICtrlCreateButton("", 504, 216, 17, 25, 0)
    $i30 = GUICtrlCreateButton("", 520, 216, 17, 25, 0)
    $i31 = GUICtrlCreateButton("", 536, 216, 17, 25, 0)
    $i32 = GUICtrlCreateButton("", 552, 216, 17, 25, 0)
    $i33 = GUICtrlCreateButton("", 568, 216, 17, 25, 0)
    $i34 = GUICtrlCreateButton("", 584, 216, 17, 25, 0)
    $i35 = GUICtrlCreateButton("", 600, 216, 17, 25, 0)
    $i36 = GUICtrlCreateButton("", 616, 216, 17, 25, 0)
    $i37 = GUICtrlCreateButton("", 632, 216, 17, 25, 0)
    $i37 = GUICtrlCreateButton("", 648, 216, 17, 25, 0)
    $i38 = GUICtrlCreateButton("", 664, 216, 17, 25, 0)
    $i39 = GUICtrlCreateButton("", 680, 216, 17, 25, 0)
    $i40 = GUICtrlCreateButton("", 696, 216, 17, 25, 0)
    $i41 = GUICtrlCreateButton("", 712, 216, 17, 25, 0)
    $i42 = GUICtrlCreateButton("", 728, 216, 17, 25, 0)
    $i43 = GUICtrlCreateButton("", 744, 216, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $j1 = GUICtrlCreateButton("", 8, 242, 17, 25, 0)
    $j2 = GUICtrlCreateButton("", 24, 242, 17, 25, 0)
    $j3 = GUICtrlCreateButton("", 40, 242, 17, 25, 0)
    $j4 = GUICtrlCreateButton("", 56, 242, 17, 25, 0)
    $j5 = GUICtrlCreateButton("", 72, 242, 17, 25, 0)
    $j6 = GUICtrlCreateButton("", 88, 242, 17, 25, 0)
    $j7 = GUICtrlCreateButton("", 104, 242, 17, 25, 0)
    $j7 = GUICtrlCreateButton("", 120, 242, 17, 25, 0)
    $j8 = GUICtrlCreateButton("", 136, 242, 17, 25, 0)
    $j9 = GUICtrlCreateButton("", 152, 242, 17, 25, 0)
    $j10 = GUICtrlCreateButton("", 168, 242, 17, 25, 0)
    $j11 = GUICtrlCreateButton("", 184, 242, 17, 25, 0)
    $j12 = GUICtrlCreateButton("", 200, 242, 17, 25, 0)
    $j13 = GUICtrlCreateButton("", 216, 242, 17, 25, 0)
    $j14 = GUICtrlCreateButton("", 232, 242, 17, 25, 0)
    $j15 = GUICtrlCreateButton("", 248, 242, 17, 25, 0)
    $j16 = GUICtrlCreateButton("", 264, 242, 17, 25, 0)
    $j17 = GUICtrlCreateButton("", 280, 242, 17, 25, 0)
    $j17 = GUICtrlCreateButton("", 296, 242, 17, 25, 0)
    $j18 = GUICtrlCreateButton("", 312, 242, 17, 25, 0)
    $j19 = GUICtrlCreateButton("", 328, 242, 17, 25, 0)
    $j20 = GUICtrlCreateButton("", 344, 242, 17, 25, 0)
    $j21 = GUICtrlCreateButton("", 360, 242, 17, 25, 0)
    $j22 = GUICtrlCreateButton("", 376, 242, 17, 25, 0)
    $j23 = GUICtrlCreateButton("", 392, 242, 17, 25, 0)
    $j24 = GUICtrlCreateButton("", 408, 242, 17, 25, 0)
    $j25 = GUICtrlCreateButton("", 424, 242, 17, 25, 0)
    $j26 = GUICtrlCreateButton("", 440, 242, 17, 25, 0)
    $j27 = GUICtrlCreateButton("", 456, 242, 17, 25, 0)
    $j27 = GUICtrlCreateButton("", 472, 242, 17, 25, 0)
    $j28 = GUICtrlCreateButton("", 488, 242, 17, 25, 0)
    $j29 = GUICtrlCreateButton("", 504, 242, 17, 25, 0)
    $j30 = GUICtrlCreateButton("", 520, 242, 17, 25, 0)
    $j31 = GUICtrlCreateButton("", 536, 242, 17, 25, 0)
    $j32 = GUICtrlCreateButton("", 552, 242, 17, 25, 0)
    $j33 = GUICtrlCreateButton("", 568, 242, 17, 25, 0)
    $j34 = GUICtrlCreateButton("", 584, 242, 17, 25, 0)
    $j35 = GUICtrlCreateButton("", 600, 242, 17, 25, 0)
    $j36 = GUICtrlCreateButton("", 616, 242, 17, 25, 0)
    $j37 = GUICtrlCreateButton("", 632, 242, 17, 25, 0)
    $j37 = GUICtrlCreateButton("", 648, 242, 17, 25, 0)
    $j38 = GUICtrlCreateButton("", 664, 242, 17, 25, 0)
    $j39 = GUICtrlCreateButton("", 680, 242, 17, 25, 0)
    $j40 = GUICtrlCreateButton("", 696, 242, 17, 25, 0)
    $j41 = GUICtrlCreateButton("", 712, 242, 17, 25, 0)
    $j42 = GUICtrlCreateButton("", 728, 242, 17, 25, 0)
    $j43 = GUICtrlCreateButton("", 744, 242, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit]

    $k1 = GUICtrlCreateButton("", 8, 268, 17, 25, 0)
    $k2 = GUICtrlCreateButton("", 24, 268, 17, 25, 0)
    $k3 = GUICtrlCreateButton("", 40, 268, 17, 25, 0)
    $k4 = GUICtrlCreateButton("", 56, 268, 17, 25, 0)
    $k5 = GUICtrlCreateButton("", 72, 268, 17, 25, 0)
    $k6 = GUICtrlCreateButton("", 88, 268, 17, 25, 0)
    $k7 = GUICtrlCreateButton("", 104, 268, 17, 25, 0)
    $k7 = GUICtrlCreateButton("", 120, 268, 17, 25, 0)
    $k8 = GUICtrlCreateButton("", 136, 268, 17, 25, 0)
    $k9 = GUICtrlCreateButton("", 152, 268, 17, 25, 0)
    $k10 = GUICtrlCreateButton("", 168, 268, 17, 25, 0)
    $k11 = GUICtrlCreateButton("", 184, 268, 17, 25, 0)
    $k12 = GUICtrlCreateButton("", 200, 268, 17, 25, 0)
    $k13 = GUICtrlCreateButton("", 216, 268, 17, 25, 0)
    $k14 = GUICtrlCreateButton("", 232, 268, 17, 25, 0)
    $k15 = GUICtrlCreateButton("", 248, 268, 17, 25, 0)
    $k16 = GUICtrlCreateButton("", 264, 268, 17, 25, 0)
    $k17 = GUICtrlCreateButton("", 280, 268, 17, 25, 0)
    $k17 = GUICtrlCreateButton("", 296, 268, 17, 25, 0)
    $k18 = GUICtrlCreateButton("", 312, 268, 17, 25, 0)
    $k19 = GUICtrlCreateButton("", 328, 268, 17, 25, 0)
    $k20 = GUICtrlCreateButton("", 344, 268, 17, 25, 0)
    $k21 = GUICtrlCreateButton("", 360, 268, 17, 25, 0)
    $k22 = GUICtrlCreateButton("", 376, 268, 17, 25, 0)
    $k23 = GUICtrlCreateButton("", 392, 268, 17, 25, 0)
    $k24 = GUICtrlCreateButton("", 408, 268, 17, 25, 0)
    $k25 = GUICtrlCreateButton("", 424, 268, 17, 25, 0)
    $k26 = GUICtrlCreateButton("", 440, 268, 17, 25, 0)
    $k27 = GUICtrlCreateButton("", 456, 268, 17, 25, 0)
    $k27 = GUICtrlCreateButton("", 472, 268, 17, 25, 0)
    $k28 = GUICtrlCreateButton("", 488, 268, 17, 25, 0)
    $k29 = GUICtrlCreateButton("", 504, 268, 17, 25, 0)
    $k30 = GUICtrlCreateButton("", 520, 268, 17, 25, 0)
    $k31 = GUICtrlCreateButton("", 536, 268, 17, 25, 0)
    $k32 = GUICtrlCreateButton("", 552, 268, 17, 25, 0)
    $k33 = GUICtrlCreateButton("", 568, 268, 17, 25, 0)
    $k34 = GUICtrlCreateButton("", 584, 268, 17, 25, 0)
    $k35 = GUICtrlCreateButton("", 600, 268, 17, 25, 0)
    $k36 = GUICtrlCreateButton("", 616, 268, 17, 25, 0)
    $k37 = GUICtrlCreateButton("", 632, 268, 17, 25, 0)
    $k37 = GUICtrlCreateButton("", 648, 268, 17, 25, 0)
    $k38 = GUICtrlCreateButton("", 664, 268, 17, 25, 0)
    $k39 = GUICtrlCreateButton("", 680, 268, 17, 25, 0)
    $k40 = GUICtrlCreateButton("", 696, 268, 17, 25, 0)
    $k41 = GUICtrlCreateButton("", 712, 268, 17, 25, 0)
    $k42 = GUICtrlCreateButton("", 728, 268, 17, 25, 0)
    $k43 = GUICtrlCreateButton("", 744, 268, 17, 25, 0)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    #comments-start
    HIER GEHT ES WEITER
    Aus- und einblendungen aktivieren bzw. deaktivieren
    #comments-end

    [/autoit] [autoit][/autoit] [autoit]

    GUISetState(@SW_SHOW)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit

    [/autoit] [autoit][/autoit] [autoit]

    EndSwitch
    WEnd

    [/autoit]

    LG Lina

    Lieben Gruß,
    Alina

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Geheime Information: ;)
    OuBVU5ebLhHu5QvlnAyQB4A7SzBrvWulwL7RLl2BdH5tI6sIYspeMKeXMSXl

    Einmal editiert, zuletzt von Alina (8. Juni 2007 um 14:25)

  • um deinen code zu kürzen könntest du auch die gui mit ner schleife aubauen also For $i = 1 To 34
    und dann zählen lassen

    • Offizieller Beitrag

    Hi,

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>
    $GUI1 = GUICreate("Lightbox", 768, 302, 148, 281)
    GUISetBkColor(0x000000)

    [/autoit] [autoit][/autoit] [autoit]

    Global $buttons[11][47]
    Global $left = 8, $top = 26
    For $i = 0 To UBound($buttons, 1) - 1
    For $ii = 0 To UBound($buttons, 2) - 1
    $buttons[$i][$ii] = GUICtrlCreateButton("", $left + ($ii * $left * 2), 8 + ($i * $top), 17, 25, 0)
    ConsoleWrite($left + ($ii * $left * 2) & " " & 8 + ($ii * $top) & @CRLF)
    Next
    Next

    [/autoit] [autoit][/autoit] [autoit]

    #comments-start
    HIER GEHT ES WEITER
    Aus- und einblendungen aktivieren bzw. deaktivieren
    #comments-end

    [/autoit] [autoit][/autoit] [autoit]

    GUISetState(@SW_SHOW)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit

    [/autoit] [autoit][/autoit] [autoit]

    EndSwitch
    WEnd

    [/autoit]

    So long,

    Mega

  • Hallo th.meger.

    Also jetzt glaube ich fange ich an, das Auslesen von Arrys zu verstehen.

    Sieht nun so aus:

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>
    $GUI1 = GUICreate("Lightbox", 768, 302, 148, 281)
    GUISetBkColor(0x000000)

    Global $buttons[11][47]
    Global $left = 8, $top = 26
    For $i = 0 To UBound($buttons, 1) - 1
    For $ii = 0 To UBound($buttons, 2) - 1
    $buttons[$i][$ii] = GUICtrlCreateButton("", $left + ($ii * $left * 2), 8 + ($i * $top), 17, 25, 0)
    ConsoleWrite($left + ($ii * $left * 2) & " " & 8 + ($ii * $top) & @CRLF)
    Next
    Next

    GUISetState(@SW_SHOW)

    ; HIER GEHT ES WEITER
    ; Aus- und einblendungen aktivieren bzw. deaktivieren
    ;
    ; Meine Array-Hilfe
    ; [0/0] [0/1]
    ; [1/0] [1/1]
    ; [2/0] [2/1]
    While 1
    sleep(500)
    GUICtrlSetState($buttons[2][1], $GUI_HIDE)
    sleep (5000)
    GUICtrlSetState($buttons[2][1], $GUI_SHOW)
    WEnd

    [/autoit]

    In der dritten Reihe geht der zweite Button weg und kommt nach 5 Sekunden wieder.

    Nun noch das Problem, das oben recht das Kreus zum schließen des Fensters noch funktionieren muß.

    Dann sollte das ganze nur noch eine Frage der Umsetzung sein, die ich auf zahlreichen Papieren fertig habe.

    LG Lina

    Lieben Gruß,
    Alina

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Geheime Information: ;)
    OuBVU5ebLhHu5QvlnAyQB4A7SzBrvWulwL7RLl2BdH5tI6sIYspeMKeXMSXl

  • Hallo th.meger.

    Habe das GuiGetMsg mit eingebaut, aber es bricht nach einem Durchgang ab und soll erst abbrechen, wenn man auf das "x" oben rechts klickt.

    Aber es funktioniert. Schau hier:

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>
    $GUI1 = GUICreate("Lightbox", 768, 302, 148, 281)
    GUISetBkColor(0x000000)

    Global $buttons[11][47]
    Global $left = 8, $top = 26
    For $i = 0 To UBound($buttons, 1) - 1
    For $ii = 0 To UBound($buttons, 2) - 1
    $buttons[$i][$ii] = GUICtrlCreateButton("", $left + ($ii * $left * 2), 8 + ($i * $top), 17, 25, 0)
    ConsoleWrite($left + ($ii * $left * 2) & " " & 8 + ($ii * $top) & @CRLF)
    Next
    Next

    GUISetState(@SW_SHOW)

    ; HIER GEHT ES WEITER
    ; Aus- und einblendungen // aktivieren bzw. deaktivieren
    ;
    ; Meine Array-Hilfe
    ; [0/0] [0/1]
    ; [1/0] [1/1]
    ; [2/0] [2/1]

    [/autoit] [autoit][/autoit] [autoit]

    While 1

    GUICtrlSetState($buttons[1][0], $GUI_HIDE)
    GUICtrlSetState($buttons[1][1], $GUI_HIDE)
    GUICtrlSetState($buttons[1][2], $GUI_HIDE)
    GUICtrlSetState($buttons[1][3], $GUI_HIDE)
    GUICtrlSetState($buttons[1][4], $GUI_HIDE)
    GUICtrlSetState($buttons[1][5], $GUI_HIDE)
    GUICtrlSetState($buttons[1][6], $GUI_HIDE)
    GUICtrlSetState($buttons[1][7], $GUI_HIDE)
    GUICtrlSetState($buttons[1][8], $GUI_HIDE)
    GUICtrlSetState($buttons[1][9], $GUI_HIDE)
    GUICtrlSetState($buttons[1][10], $GUI_HIDE)
    GUICtrlSetState($buttons[1][11], $GUI_HIDE)
    GUICtrlSetState($buttons[1][12], $GUI_HIDE)
    GUICtrlSetState($buttons[1][13], $GUI_HIDE)
    GUICtrlSetState($buttons[1][14], $GUI_HIDE)
    GUICtrlSetState($buttons[1][15], $GUI_HIDE)
    GUICtrlSetState($buttons[1][16], $GUI_HIDE)
    GUICtrlSetState($buttons[1][17], $GUI_HIDE)
    GUICtrlSetState($buttons[1][18], $GUI_HIDE)
    GUICtrlSetState($buttons[1][19], $GUI_HIDE)
    GUICtrlSetState($buttons[1][20], $GUI_HIDE)
    GUICtrlSetState($buttons[1][21], $GUI_HIDE)
    GUICtrlSetState($buttons[1][22], $GUI_HIDE)
    GUICtrlSetState($buttons[1][23], $GUI_HIDE)
    GUICtrlSetState($buttons[1][24], $GUI_HIDE)
    GUICtrlSetState($buttons[1][25], $GUI_HIDE)
    GUICtrlSetState($buttons[1][26], $GUI_HIDE)
    GUICtrlSetState($buttons[1][27], $GUI_HIDE)
    GUICtrlSetState($buttons[1][28], $GUI_HIDE)
    GUICtrlSetState($buttons[1][29], $GUI_HIDE)
    GUICtrlSetState($buttons[1][30], $GUI_HIDE)
    GUICtrlSetState($buttons[1][31], $GUI_HIDE)
    GUICtrlSetState($buttons[1][32], $GUI_HIDE)
    GUICtrlSetState($buttons[1][33], $GUI_HIDE)
    GUICtrlSetState($buttons[1][34], $GUI_HIDE)
    GUICtrlSetState($buttons[1][35], $GUI_HIDE)
    GUICtrlSetState($buttons[1][36], $GUI_HIDE)
    GUICtrlSetState($buttons[1][37], $GUI_HIDE)
    GUICtrlSetState($buttons[1][38], $GUI_HIDE)
    GUICtrlSetState($buttons[1][39], $GUI_HIDE)
    GUICtrlSetState($buttons[1][40], $GUI_HIDE)
    GUICtrlSetState($buttons[1][41], $GUI_HIDE)
    GUICtrlSetState($buttons[1][42], $GUI_HIDE)
    GUICtrlSetState($buttons[1][43], $GUI_HIDE)
    GUICtrlSetState($buttons[1][44], $GUI_HIDE)
    GUICtrlSetState($buttons[1][45], $GUI_HIDE)
    GUICtrlSetState($buttons[1][46], $GUI_HIDE)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[9][0], $GUI_HIDE)
    GUICtrlSetState($buttons[9][1], $GUI_HIDE)
    GUICtrlSetState($buttons[9][2], $GUI_HIDE)
    GUICtrlSetState($buttons[9][3], $GUI_HIDE)
    GUICtrlSetState($buttons[9][4], $GUI_HIDE)
    GUICtrlSetState($buttons[9][5], $GUI_HIDE)
    GUICtrlSetState($buttons[9][6], $GUI_HIDE)
    GUICtrlSetState($buttons[9][7], $GUI_HIDE)
    GUICtrlSetState($buttons[9][8], $GUI_HIDE)
    GUICtrlSetState($buttons[9][9], $GUI_HIDE)
    GUICtrlSetState($buttons[9][10], $GUI_HIDE)
    GUICtrlSetState($buttons[9][11], $GUI_HIDE)
    GUICtrlSetState($buttons[9][12], $GUI_HIDE)
    GUICtrlSetState($buttons[9][13], $GUI_HIDE)
    GUICtrlSetState($buttons[9][14], $GUI_HIDE)
    GUICtrlSetState($buttons[9][15], $GUI_HIDE)
    GUICtrlSetState($buttons[9][16], $GUI_HIDE)
    GUICtrlSetState($buttons[9][17], $GUI_HIDE)
    GUICtrlSetState($buttons[9][18], $GUI_HIDE)
    GUICtrlSetState($buttons[9][19], $GUI_HIDE)
    GUICtrlSetState($buttons[9][20], $GUI_HIDE)
    GUICtrlSetState($buttons[9][21], $GUI_HIDE)
    GUICtrlSetState($buttons[9][22], $GUI_HIDE)
    GUICtrlSetState($buttons[9][23], $GUI_HIDE)
    GUICtrlSetState($buttons[9][24], $GUI_HIDE)
    GUICtrlSetState($buttons[9][25], $GUI_HIDE)
    GUICtrlSetState($buttons[9][26], $GUI_HIDE)
    GUICtrlSetState($buttons[9][27], $GUI_HIDE)
    GUICtrlSetState($buttons[9][28], $GUI_HIDE)
    GUICtrlSetState($buttons[9][29], $GUI_HIDE)
    GUICtrlSetState($buttons[9][30], $GUI_HIDE)
    GUICtrlSetState($buttons[9][31], $GUI_HIDE)
    GUICtrlSetState($buttons[9][32], $GUI_HIDE)
    GUICtrlSetState($buttons[9][33], $GUI_HIDE)
    GUICtrlSetState($buttons[9][34], $GUI_HIDE)
    GUICtrlSetState($buttons[9][35], $GUI_HIDE)
    GUICtrlSetState($buttons[9][36], $GUI_HIDE)
    GUICtrlSetState($buttons[9][37], $GUI_HIDE)
    GUICtrlSetState($buttons[9][38], $GUI_HIDE)
    GUICtrlSetState($buttons[9][39], $GUI_HIDE)
    GUICtrlSetState($buttons[9][40], $GUI_HIDE)
    GUICtrlSetState($buttons[9][41], $GUI_HIDE)
    GUICtrlSetState($buttons[9][42], $GUI_HIDE)
    GUICtrlSetState($buttons[9][43], $GUI_HIDE)
    GUICtrlSetState($buttons[9][44], $GUI_HIDE)
    GUICtrlSetState($buttons[9][45], $GUI_HIDE)
    GUICtrlSetState($buttons[9][46], $GUI_HIDE)
    sleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[2][0], $GUI_HIDE)
    GUICtrlSetState($buttons[2][6], $GUI_HIDE)
    GUICtrlSetState($buttons[2][7], $GUI_HIDE)
    GUICtrlSetState($buttons[2][9], $GUI_HIDE)
    GUICtrlSetState($buttons[2][10], $GUI_HIDE)
    GUICtrlSetState($buttons[2][11], $GUI_HIDE)
    GUICtrlSetState($buttons[2][13], $GUI_HIDE)
    GUICtrlSetState($buttons[2][14], $GUI_HIDE)
    GUICtrlSetState($buttons[2][20], $GUI_HIDE)
    GUICtrlSetState($buttons[2][21], $GUI_HIDE)
    GUICtrlSetState($buttons[2][22], $GUI_HIDE)
    GUICtrlSetState($buttons[2][26], $GUI_HIDE)
    GUICtrlSetState($buttons[2][27], $GUI_HIDE)
    GUICtrlSetState($buttons[2][28], $GUI_HIDE)
    GUICtrlSetState($buttons[2][30], $GUI_HIDE)
    GUICtrlSetState($buttons[2][31], $GUI_HIDE)
    GUICtrlSetState($buttons[2][32], $GUI_HIDE)
    GUICtrlSetState($buttons[2][33], $GUI_HIDE)
    GUICtrlSetState($buttons[2][28], $GUI_HIDE)
    GUICtrlSetState($buttons[2][29], $GUI_HIDE)
    GUICtrlSetState($buttons[2][33], $GUI_HIDE)
    GUICtrlSetState($buttons[2][39], $GUI_HIDE)
    GUICtrlSetState($buttons[2][40], $GUI_HIDE)
    GUICtrlSetState($buttons[2][46], $GUI_HIDE)
    sleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[3][0], $GUI_HIDE)
    GUICtrlSetState($buttons[3][2], $GUI_HIDE)
    GUICtrlSetState($buttons[3][3], $GUI_HIDE)
    GUICtrlSetState($buttons[3][4], $GUI_HIDE)
    GUICtrlSetState($buttons[3][6], $GUI_HIDE)
    GUICtrlSetState($buttons[3][7], $GUI_HIDE)
    GUICtrlSetState($buttons[3][9], $GUI_HIDE)
    GUICtrlSetState($buttons[3][10], $GUI_HIDE)
    GUICtrlSetState($buttons[3][11], $GUI_HIDE)
    GUICtrlSetState($buttons[3][13], $GUI_HIDE)
    GUICtrlSetState($buttons[3][14], $GUI_HIDE)
    GUICtrlSetState($buttons[3][15], $GUI_HIDE)
    GUICtrlSetState($buttons[3][16], $GUI_HIDE)
    GUICtrlSetState($buttons[3][18], $GUI_HIDE)
    GUICtrlSetState($buttons[3][19], $GUI_HIDE)
    GUICtrlSetState($buttons[3][20], $GUI_HIDE)
    GUICtrlSetState($buttons[3][21], $GUI_HIDE)
    GUICtrlSetState($buttons[3][23], $GUI_HIDE)
    GUICtrlSetState($buttons[3][24], $GUI_HIDE)
    GUICtrlSetState($buttons[3][25], $GUI_HIDE)
    GUICtrlSetState($buttons[3][27], $GUI_HIDE)
    GUICtrlSetState($buttons[3][28], $GUI_HIDE)
    GUICtrlSetState($buttons[3][29], $GUI_HIDE)
    GUICtrlSetState($buttons[3][30], $GUI_HIDE)
    GUICtrlSetState($buttons[3][31], $GUI_HIDE)
    GUICtrlSetState($buttons[3][32], $GUI_HIDE)
    GUICtrlSetState($buttons[3][33], $GUI_HIDE)
    GUICtrlSetState($buttons[3][34], $GUI_HIDE)
    GUICtrlSetState($buttons[3][35], $GUI_HIDE)
    GUICtrlSetState($buttons[3][37], $GUI_HIDE)
    GUICtrlSetState($buttons[3][38], $GUI_HIDE)
    GUICtrlSetState($buttons[3][39], $GUI_HIDE)
    GUICtrlSetState($buttons[3][40], $GUI_HIDE)
    GUICtrlSetState($buttons[3][41], $GUI_HIDE)
    GUICtrlSetState($buttons[3][42], $GUI_HIDE)
    GUICtrlSetState($buttons[3][44], $GUI_HIDE)
    GUICtrlSetState($buttons[3][45], $GUI_HIDE)
    GUICtrlSetState($buttons[3][46], $GUI_HIDE)
    sleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[4][0], $GUI_HIDE)
    GUICtrlSetState($buttons[4][2], $GUI_HIDE)
    GUICtrlSetState($buttons[4][3], $GUI_HIDE)
    GUICtrlSetState($buttons[4][4], $GUI_HIDE)
    GUICtrlSetState($buttons[4][6], $GUI_HIDE)
    GUICtrlSetState($buttons[4][7], $GUI_HIDE)
    GUICtrlSetState($buttons[4][9], $GUI_HIDE)
    GUICtrlSetState($buttons[4][10], $GUI_HIDE)
    GUICtrlSetState($buttons[4][11], $GUI_HIDE)
    GUICtrlSetState($buttons[4][13], $GUI_HIDE)
    GUICtrlSetState($buttons[4][14], $GUI_HIDE)
    GUICtrlSetState($buttons[4][15], $GUI_HIDE)
    GUICtrlSetState($buttons[4][16], $GUI_HIDE)
    GUICtrlSetState($buttons[4][18], $GUI_HIDE)
    GUICtrlSetState($buttons[4][19], $GUI_HIDE)
    GUICtrlSetState($buttons[4][20], $GUI_HIDE)
    GUICtrlSetState($buttons[4][21], $GUI_HIDE)
    GUICtrlSetState($buttons[4][23], $GUI_HIDE)
    GUICtrlSetState($buttons[4][24], $GUI_HIDE)
    GUICtrlSetState($buttons[4][25], $GUI_HIDE)
    GUICtrlSetState($buttons[4][27], $GUI_HIDE)
    GUICtrlSetState($buttons[4][28], $GUI_HIDE)
    GUICtrlSetState($buttons[4][29], $GUI_HIDE)
    GUICtrlSetState($buttons[4][30], $GUI_HIDE)
    GUICtrlSetState($buttons[4][31], $GUI_HIDE)
    GUICtrlSetState($buttons[4][32], $GUI_HIDE)
    GUICtrlSetState($buttons[4][33], $GUI_HIDE)
    GUICtrlSetState($buttons[4][34], $GUI_HIDE)
    GUICtrlSetState($buttons[4][35], $GUI_HIDE)
    GUICtrlSetState($buttons[4][37], $GUI_HIDE)
    GUICtrlSetState($buttons[4][38], $GUI_HIDE)
    GUICtrlSetState($buttons[4][39], $GUI_HIDE)
    GUICtrlSetState($buttons[4][40], $GUI_HIDE)
    GUICtrlSetState($buttons[4][41], $GUI_HIDE)
    GUICtrlSetState($buttons[4][42], $GUI_HIDE)
    GUICtrlSetState($buttons[4][44], $GUI_HIDE)
    GUICtrlSetState($buttons[4][45], $GUI_HIDE)
    GUICtrlSetState($buttons[4][46], $GUI_HIDE)
    sleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[5][0], $GUI_HIDE)
    GUICtrlSetState($buttons[5][6], $GUI_HIDE)
    GUICtrlSetState($buttons[5][7], $GUI_HIDE)
    GUICtrlSetState($buttons[5][9], $GUI_HIDE)
    GUICtrlSetState($buttons[5][10], $GUI_HIDE)
    GUICtrlSetState($buttons[5][11], $GUI_HIDE)
    GUICtrlSetState($buttons[5][13], $GUI_HIDE)
    GUICtrlSetState($buttons[5][14], $GUI_HIDE)
    GUICtrlSetState($buttons[5][15], $GUI_HIDE)
    GUICtrlSetState($buttons[5][16], $GUI_HIDE)
    GUICtrlSetState($buttons[5][18], $GUI_HIDE)
    GUICtrlSetState($buttons[5][19], $GUI_HIDE)
    GUICtrlSetState($buttons[5][20], $GUI_HIDE)
    GUICtrlSetState($buttons[5][21], $GUI_HIDE)
    GUICtrlSetState($buttons[5][23], $GUI_HIDE)
    GUICtrlSetState($buttons[5][24], $GUI_HIDE)
    GUICtrlSetState($buttons[5][25], $GUI_HIDE)
    GUICtrlSetState($buttons[5][27], $GUI_HIDE)
    GUICtrlSetState($buttons[5][28], $GUI_HIDE)
    GUICtrlSetState($buttons[5][29], $GUI_HIDE)
    GUICtrlSetState($buttons[5][33], $GUI_HIDE)
    GUICtrlSetState($buttons[5][34], $GUI_HIDE)
    GUICtrlSetState($buttons[5][35], $GUI_HIDE)
    GUICtrlSetState($buttons[5][37], $GUI_HIDE)
    GUICtrlSetState($buttons[5][38], $GUI_HIDE)
    GUICtrlSetState($buttons[5][39], $GUI_HIDE)
    GUICtrlSetState($buttons[5][40], $GUI_HIDE)
    GUICtrlSetState($buttons[5][41], $GUI_HIDE)
    GUICtrlSetState($buttons[5][42], $GUI_HIDE)
    GUICtrlSetState($buttons[5][44], $GUI_HIDE)
    GUICtrlSetState($buttons[5][45], $GUI_HIDE)
    GUICtrlSetState($buttons[5][46], $GUI_HIDE)
    sleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[6][0], $GUI_HIDE)
    GUICtrlSetState($buttons[6][2], $GUI_HIDE)
    GUICtrlSetState($buttons[6][3], $GUI_HIDE)
    GUICtrlSetState($buttons[6][4], $GUI_HIDE)
    GUICtrlSetState($buttons[6][6], $GUI_HIDE)
    GUICtrlSetState($buttons[6][7], $GUI_HIDE)
    GUICtrlSetState($buttons[6][9], $GUI_HIDE)
    GUICtrlSetState($buttons[6][10], $GUI_HIDE)
    GUICtrlSetState($buttons[6][11], $GUI_HIDE)
    GUICtrlSetState($buttons[6][13], $GUI_HIDE)
    GUICtrlSetState($buttons[6][14], $GUI_HIDE)
    GUICtrlSetState($buttons[6][15], $GUI_HIDE)
    GUICtrlSetState($buttons[6][16], $GUI_HIDE)
    GUICtrlSetState($buttons[6][18], $GUI_HIDE)
    GUICtrlSetState($buttons[6][19], $GUI_HIDE)
    GUICtrlSetState($buttons[6][20], $GUI_HIDE)
    GUICtrlSetState($buttons[6][21], $GUI_HIDE)
    GUICtrlSetState($buttons[6][23], $GUI_HIDE)
    GUICtrlSetState($buttons[6][24], $GUI_HIDE)
    GUICtrlSetState($buttons[6][25], $GUI_HIDE)
    GUICtrlSetState($buttons[6][27], $GUI_HIDE)
    GUICtrlSetState($buttons[6][28], $GUI_HIDE)
    GUICtrlSetState($buttons[6][29], $GUI_HIDE)
    GUICtrlSetState($buttons[6][30], $GUI_HIDE)
    GUICtrlSetState($buttons[6][31], $GUI_HIDE)
    GUICtrlSetState($buttons[6][32], $GUI_HIDE)
    GUICtrlSetState($buttons[6][33], $GUI_HIDE)
    GUICtrlSetState($buttons[6][34], $GUI_HIDE)
    GUICtrlSetState($buttons[6][35], $GUI_HIDE)
    GUICtrlSetState($buttons[6][37], $GUI_HIDE)
    GUICtrlSetState($buttons[6][38], $GUI_HIDE)
    GUICtrlSetState($buttons[6][39], $GUI_HIDE)
    GUICtrlSetState($buttons[6][40], $GUI_HIDE)
    GUICtrlSetState($buttons[6][41], $GUI_HIDE)
    GUICtrlSetState($buttons[6][42], $GUI_HIDE)
    GUICtrlSetState($buttons[6][44], $GUI_HIDE)
    GUICtrlSetState($buttons[6][45], $GUI_HIDE)
    GUICtrlSetState($buttons[6][46], $GUI_HIDE)
    sleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[7][0], $GUI_HIDE)
    GUICtrlSetState($buttons[7][2], $GUI_HIDE)
    GUICtrlSetState($buttons[7][3], $GUI_HIDE)
    GUICtrlSetState($buttons[7][4], $GUI_HIDE)
    GUICtrlSetState($buttons[7][6], $GUI_HIDE)
    GUICtrlSetState($buttons[7][7], $GUI_HIDE)
    GUICtrlSetState($buttons[7][9], $GUI_HIDE)
    GUICtrlSetState($buttons[7][10], $GUI_HIDE)
    GUICtrlSetState($buttons[7][11], $GUI_HIDE)
    GUICtrlSetState($buttons[7][13], $GUI_HIDE)
    GUICtrlSetState($buttons[7][14], $GUI_HIDE)
    GUICtrlSetState($buttons[7][15], $GUI_HIDE)
    GUICtrlSetState($buttons[7][16], $GUI_HIDE)
    GUICtrlSetState($buttons[7][18], $GUI_HIDE)
    GUICtrlSetState($buttons[7][19], $GUI_HIDE)
    GUICtrlSetState($buttons[7][20], $GUI_HIDE)
    GUICtrlSetState($buttons[7][21], $GUI_HIDE)
    GUICtrlSetState($buttons[7][23], $GUI_HIDE)
    GUICtrlSetState($buttons[7][24], $GUI_HIDE)
    GUICtrlSetState($buttons[7][25], $GUI_HIDE)
    GUICtrlSetState($buttons[7][27], $GUI_HIDE)
    GUICtrlSetState($buttons[7][28], $GUI_HIDE)
    GUICtrlSetState($buttons[7][29], $GUI_HIDE)
    GUICtrlSetState($buttons[7][30], $GUI_HIDE)
    GUICtrlSetState($buttons[7][31], $GUI_HIDE)
    GUICtrlSetState($buttons[7][32], $GUI_HIDE)
    GUICtrlSetState($buttons[7][33], $GUI_HIDE)
    GUICtrlSetState($buttons[7][34], $GUI_HIDE)
    GUICtrlSetState($buttons[7][35], $GUI_HIDE)
    GUICtrlSetState($buttons[7][37], $GUI_HIDE)
    GUICtrlSetState($buttons[7][38], $GUI_HIDE)
    GUICtrlSetState($buttons[7][39], $GUI_HIDE)
    GUICtrlSetState($buttons[7][40], $GUI_HIDE)
    GUICtrlSetState($buttons[7][41], $GUI_HIDE)
    GUICtrlSetState($buttons[7][42], $GUI_HIDE)
    GUICtrlSetState($buttons[7][44], $GUI_HIDE)
    GUICtrlSetState($buttons[7][45], $GUI_HIDE)
    GUICtrlSetState($buttons[7][46], $GUI_HIDE)
    sleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[8][0], $GUI_HIDE)
    GUICtrlSetState($buttons[8][2], $GUI_HIDE)
    GUICtrlSetState($buttons[8][3], $GUI_HIDE)
    GUICtrlSetState($buttons[8][4], $GUI_HIDE)
    GUICtrlSetState($buttons[8][6], $GUI_HIDE)
    GUICtrlSetState($buttons[8][7], $GUI_HIDE)
    GUICtrlSetState($buttons[8][13], $GUI_HIDE)
    GUICtrlSetState($buttons[8][14], $GUI_HIDE)
    GUICtrlSetState($buttons[8][15], $GUI_HIDE)
    GUICtrlSetState($buttons[8][16], $GUI_HIDE)
    GUICtrlSetState($buttons[8][18], $GUI_HIDE)
    GUICtrlSetState($buttons[8][19], $GUI_HIDE)
    GUICtrlSetState($buttons[8][20], $GUI_HIDE)
    GUICtrlSetState($buttons[8][21], $GUI_HIDE)
    GUICtrlSetState($buttons[8][22], $GUI_HIDE)
    GUICtrlSetState($buttons[8][26], $GUI_HIDE)
    GUICtrlSetState($buttons[8][27], $GUI_HIDE)
    GUICtrlSetState($buttons[8][28], $GUI_HIDE)
    GUICtrlSetState($buttons[8][30], $GUI_HIDE)
    GUICtrlSetState($buttons[8][31], $GUI_HIDE)
    GUICtrlSetState($buttons[8][32], $GUI_HIDE)
    GUICtrlSetState($buttons[8][33], $GUI_HIDE)
    GUICtrlSetState($buttons[8][28], $GUI_HIDE)
    GUICtrlSetState($buttons[8][29], $GUI_HIDE)
    GUICtrlSetState($buttons[8][33], $GUI_HIDE)
    GUICtrlSetState($buttons[8][39], $GUI_HIDE)
    GUICtrlSetState($buttons[8][40], $GUI_HIDE)
    GUICtrlSetState($buttons[8][41], $GUI_HIDE)
    GUICtrlSetState($buttons[8][42], $GUI_HIDE)
    GUICtrlSetState($buttons[8][44], $GUI_HIDE)
    GUICtrlSetState($buttons[8][45], $GUI_HIDE)
    GUICtrlSetState($buttons[8][46], $GUI_HIDE)

    [/autoit] [autoit][/autoit] [autoit]

    sleep(2000)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[1][0], $GUI_SHOW)
    GUICtrlSetState($buttons[1][1], $GUI_SHOW)
    GUICtrlSetState($buttons[1][2], $GUI_SHOW)
    GUICtrlSetState($buttons[1][3], $GUI_SHOW)
    GUICtrlSetState($buttons[1][4], $GUI_SHOW)
    GUICtrlSetState($buttons[1][5], $GUI_SHOW)
    GUICtrlSetState($buttons[1][6], $GUI_SHOW)
    GUICtrlSetState($buttons[1][7], $GUI_SHOW)
    GUICtrlSetState($buttons[1][8], $GUI_SHOW)
    GUICtrlSetState($buttons[1][9], $GUI_SHOW)
    GUICtrlSetState($buttons[1][10], $GUI_SHOW)
    GUICtrlSetState($buttons[1][11], $GUI_SHOW)
    GUICtrlSetState($buttons[1][12], $GUI_SHOW)
    GUICtrlSetState($buttons[1][13], $GUI_SHOW)
    GUICtrlSetState($buttons[1][14], $GUI_SHOW)
    GUICtrlSetState($buttons[1][15], $GUI_SHOW)
    GUICtrlSetState($buttons[1][16], $GUI_SHOW)
    GUICtrlSetState($buttons[1][17], $GUI_SHOW)
    GUICtrlSetState($buttons[1][18], $GUI_SHOW)
    GUICtrlSetState($buttons[1][19], $GUI_SHOW)
    GUICtrlSetState($buttons[1][20], $GUI_SHOW)
    GUICtrlSetState($buttons[1][21], $GUI_SHOW)
    GUICtrlSetState($buttons[1][22], $GUI_SHOW)
    GUICtrlSetState($buttons[1][23], $GUI_SHOW)
    GUICtrlSetState($buttons[1][24], $GUI_SHOW)
    GUICtrlSetState($buttons[1][25], $GUI_SHOW)
    GUICtrlSetState($buttons[1][26], $GUI_SHOW)
    GUICtrlSetState($buttons[1][27], $GUI_SHOW)
    GUICtrlSetState($buttons[1][28], $GUI_SHOW)
    GUICtrlSetState($buttons[1][29], $GUI_SHOW)
    GUICtrlSetState($buttons[1][30], $GUI_SHOW)
    GUICtrlSetState($buttons[1][31], $GUI_SHOW)
    GUICtrlSetState($buttons[1][32], $GUI_SHOW)
    GUICtrlSetState($buttons[1][33], $GUI_SHOW)
    GUICtrlSetState($buttons[1][34], $GUI_SHOW)
    GUICtrlSetState($buttons[1][35], $GUI_SHOW)
    GUICtrlSetState($buttons[1][36], $GUI_SHOW)
    GUICtrlSetState($buttons[1][37], $GUI_SHOW)
    GUICtrlSetState($buttons[1][38], $GUI_SHOW)
    GUICtrlSetState($buttons[1][39], $GUI_SHOW)
    GUICtrlSetState($buttons[1][40], $GUI_SHOW)
    GUICtrlSetState($buttons[1][41], $GUI_SHOW)
    GUICtrlSetState($buttons[1][42], $GUI_SHOW)
    GUICtrlSetState($buttons[1][43], $GUI_SHOW)
    GUICtrlSetState($buttons[1][44], $GUI_SHOW)
    GUICtrlSetState($buttons[1][45], $GUI_SHOW)
    GUICtrlSetState($buttons[1][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[2][0], $GUI_SHOW)
    GUICtrlSetState($buttons[2][6], $GUI_SHOW)
    GUICtrlSetState($buttons[2][7], $GUI_SHOW)
    GUICtrlSetState($buttons[2][9], $GUI_SHOW)
    GUICtrlSetState($buttons[2][10], $GUI_SHOW)
    GUICtrlSetState($buttons[2][11], $GUI_SHOW)
    GUICtrlSetState($buttons[2][13], $GUI_SHOW)
    GUICtrlSetState($buttons[2][14], $GUI_SHOW)
    GUICtrlSetState($buttons[2][20], $GUI_SHOW)
    GUICtrlSetState($buttons[2][21], $GUI_SHOW)
    GUICtrlSetState($buttons[2][22], $GUI_SHOW)
    GUICtrlSetState($buttons[2][26], $GUI_SHOW)
    GUICtrlSetState($buttons[2][27], $GUI_SHOW)
    GUICtrlSetState($buttons[2][28], $GUI_SHOW)
    GUICtrlSetState($buttons[2][30], $GUI_SHOW)
    GUICtrlSetState($buttons[2][31], $GUI_SHOW)
    GUICtrlSetState($buttons[2][32], $GUI_SHOW)
    GUICtrlSetState($buttons[2][33], $GUI_SHOW)
    GUICtrlSetState($buttons[2][28], $GUI_SHOW)
    GUICtrlSetState($buttons[2][29], $GUI_SHOW)
    GUICtrlSetState($buttons[2][33], $GUI_SHOW)
    GUICtrlSetState($buttons[2][39], $GUI_SHOW)
    GUICtrlSetState($buttons[2][40], $GUI_SHOW)
    GUICtrlSetState($buttons[2][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[3][0], $GUI_SHOW)
    GUICtrlSetState($buttons[3][2], $GUI_SHOW)
    GUICtrlSetState($buttons[3][3], $GUI_SHOW)
    GUICtrlSetState($buttons[3][4], $GUI_SHOW)
    GUICtrlSetState($buttons[3][6], $GUI_SHOW)
    GUICtrlSetState($buttons[3][7], $GUI_SHOW)
    GUICtrlSetState($buttons[3][9], $GUI_SHOW)
    GUICtrlSetState($buttons[3][10], $GUI_SHOW)
    GUICtrlSetState($buttons[3][11], $GUI_SHOW)
    GUICtrlSetState($buttons[3][13], $GUI_SHOW)
    GUICtrlSetState($buttons[3][14], $GUI_SHOW)
    GUICtrlSetState($buttons[3][15], $GUI_SHOW)
    GUICtrlSetState($buttons[3][16], $GUI_SHOW)
    GUICtrlSetState($buttons[3][18], $GUI_SHOW)
    GUICtrlSetState($buttons[3][19], $GUI_SHOW)
    GUICtrlSetState($buttons[3][20], $GUI_SHOW)
    GUICtrlSetState($buttons[3][21], $GUI_SHOW)
    GUICtrlSetState($buttons[3][23], $GUI_SHOW)
    GUICtrlSetState($buttons[3][24], $GUI_SHOW)
    GUICtrlSetState($buttons[3][25], $GUI_SHOW)
    GUICtrlSetState($buttons[3][27], $GUI_SHOW)
    GUICtrlSetState($buttons[3][28], $GUI_SHOW)
    GUICtrlSetState($buttons[3][29], $GUI_SHOW)
    GUICtrlSetState($buttons[3][30], $GUI_SHOW)
    GUICtrlSetState($buttons[3][31], $GUI_SHOW)
    GUICtrlSetState($buttons[3][32], $GUI_SHOW)
    GUICtrlSetState($buttons[3][33], $GUI_SHOW)
    GUICtrlSetState($buttons[3][34], $GUI_SHOW)
    GUICtrlSetState($buttons[3][35], $GUI_SHOW)
    GUICtrlSetState($buttons[3][37], $GUI_SHOW)
    GUICtrlSetState($buttons[3][38], $GUI_SHOW)
    GUICtrlSetState($buttons[3][39], $GUI_SHOW)
    GUICtrlSetState($buttons[3][40], $GUI_SHOW)
    GUICtrlSetState($buttons[3][41], $GUI_SHOW)
    GUICtrlSetState($buttons[3][42], $GUI_SHOW)
    GUICtrlSetState($buttons[3][44], $GUI_SHOW)
    GUICtrlSetState($buttons[3][45], $GUI_SHOW)
    GUICtrlSetState($buttons[3][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[4][0], $GUI_SHOW)
    GUICtrlSetState($buttons[4][2], $GUI_SHOW)
    GUICtrlSetState($buttons[4][3], $GUI_SHOW)
    GUICtrlSetState($buttons[4][4], $GUI_SHOW)
    GUICtrlSetState($buttons[4][6], $GUI_SHOW)
    GUICtrlSetState($buttons[4][7], $GUI_SHOW)
    GUICtrlSetState($buttons[4][9], $GUI_SHOW)
    GUICtrlSetState($buttons[4][10], $GUI_SHOW)
    GUICtrlSetState($buttons[4][11], $GUI_SHOW)
    GUICtrlSetState($buttons[4][13], $GUI_SHOW)
    GUICtrlSetState($buttons[4][14], $GUI_SHOW)
    GUICtrlSetState($buttons[4][15], $GUI_SHOW)
    GUICtrlSetState($buttons[4][16], $GUI_SHOW)
    GUICtrlSetState($buttons[4][18], $GUI_SHOW)
    GUICtrlSetState($buttons[4][19], $GUI_SHOW)
    GUICtrlSetState($buttons[4][20], $GUI_SHOW)
    GUICtrlSetState($buttons[4][21], $GUI_SHOW)
    GUICtrlSetState($buttons[4][23], $GUI_SHOW)
    GUICtrlSetState($buttons[4][24], $GUI_SHOW)
    GUICtrlSetState($buttons[4][25], $GUI_SHOW)
    GUICtrlSetState($buttons[4][27], $GUI_SHOW)
    GUICtrlSetState($buttons[4][28], $GUI_SHOW)
    GUICtrlSetState($buttons[4][29], $GUI_SHOW)
    GUICtrlSetState($buttons[4][30], $GUI_SHOW)
    GUICtrlSetState($buttons[4][31], $GUI_SHOW)
    GUICtrlSetState($buttons[4][32], $GUI_SHOW)
    GUICtrlSetState($buttons[4][33], $GUI_SHOW)
    GUICtrlSetState($buttons[4][34], $GUI_SHOW)
    GUICtrlSetState($buttons[4][35], $GUI_SHOW)
    GUICtrlSetState($buttons[4][37], $GUI_SHOW)
    GUICtrlSetState($buttons[4][38], $GUI_SHOW)
    GUICtrlSetState($buttons[4][39], $GUI_SHOW)
    GUICtrlSetState($buttons[4][40], $GUI_SHOW)
    GUICtrlSetState($buttons[4][41], $GUI_SHOW)
    GUICtrlSetState($buttons[4][42], $GUI_SHOW)
    GUICtrlSetState($buttons[4][44], $GUI_SHOW)
    GUICtrlSetState($buttons[4][45], $GUI_SHOW)
    GUICtrlSetState($buttons[4][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[5][0], $GUI_SHOW)
    GUICtrlSetState($buttons[5][6], $GUI_SHOW)
    GUICtrlSetState($buttons[5][7], $GUI_SHOW)
    GUICtrlSetState($buttons[5][9], $GUI_SHOW)
    GUICtrlSetState($buttons[5][10], $GUI_SHOW)
    GUICtrlSetState($buttons[5][11], $GUI_SHOW)
    GUICtrlSetState($buttons[5][13], $GUI_SHOW)
    GUICtrlSetState($buttons[5][14], $GUI_SHOW)
    GUICtrlSetState($buttons[5][15], $GUI_SHOW)
    GUICtrlSetState($buttons[5][16], $GUI_SHOW)
    GUICtrlSetState($buttons[5][18], $GUI_SHOW)
    GUICtrlSetState($buttons[5][19], $GUI_SHOW)
    GUICtrlSetState($buttons[5][20], $GUI_SHOW)
    GUICtrlSetState($buttons[5][21], $GUI_SHOW)
    GUICtrlSetState($buttons[5][23], $GUI_SHOW)
    GUICtrlSetState($buttons[5][24], $GUI_SHOW)
    GUICtrlSetState($buttons[5][25], $GUI_SHOW)
    GUICtrlSetState($buttons[5][27], $GUI_SHOW)
    GUICtrlSetState($buttons[5][28], $GUI_SHOW)
    GUICtrlSetState($buttons[5][29], $GUI_SHOW)
    GUICtrlSetState($buttons[5][33], $GUI_SHOW)
    GUICtrlSetState($buttons[5][34], $GUI_SHOW)
    GUICtrlSetState($buttons[5][35], $GUI_SHOW)
    GUICtrlSetState($buttons[5][37], $GUI_SHOW)
    GUICtrlSetState($buttons[5][38], $GUI_SHOW)
    GUICtrlSetState($buttons[5][39], $GUI_SHOW)
    GUICtrlSetState($buttons[5][40], $GUI_SHOW)
    GUICtrlSetState($buttons[5][41], $GUI_SHOW)
    GUICtrlSetState($buttons[5][42], $GUI_SHOW)
    GUICtrlSetState($buttons[5][44], $GUI_SHOW)
    GUICtrlSetState($buttons[5][45], $GUI_SHOW)
    GUICtrlSetState($buttons[5][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[6][0], $GUI_SHOW)
    GUICtrlSetState($buttons[6][2], $GUI_SHOW)
    GUICtrlSetState($buttons[6][3], $GUI_SHOW)
    GUICtrlSetState($buttons[6][4], $GUI_SHOW)
    GUICtrlSetState($buttons[6][6], $GUI_SHOW)
    GUICtrlSetState($buttons[6][7], $GUI_SHOW)
    GUICtrlSetState($buttons[6][9], $GUI_SHOW)
    GUICtrlSetState($buttons[6][10], $GUI_SHOW)
    GUICtrlSetState($buttons[6][11], $GUI_SHOW)
    GUICtrlSetState($buttons[6][13], $GUI_SHOW)
    GUICtrlSetState($buttons[6][14], $GUI_SHOW)
    GUICtrlSetState($buttons[6][15], $GUI_SHOW)
    GUICtrlSetState($buttons[6][16], $GUI_SHOW)
    GUICtrlSetState($buttons[6][18], $GUI_SHOW)
    GUICtrlSetState($buttons[6][19], $GUI_SHOW)
    GUICtrlSetState($buttons[6][20], $GUI_SHOW)
    GUICtrlSetState($buttons[6][21], $GUI_SHOW)
    GUICtrlSetState($buttons[6][23], $GUI_SHOW)
    GUICtrlSetState($buttons[6][24], $GUI_SHOW)
    GUICtrlSetState($buttons[6][25], $GUI_SHOW)
    GUICtrlSetState($buttons[6][27], $GUI_SHOW)
    GUICtrlSetState($buttons[6][28], $GUI_SHOW)
    GUICtrlSetState($buttons[6][29], $GUI_SHOW)
    GUICtrlSetState($buttons[6][30], $GUI_SHOW)
    GUICtrlSetState($buttons[6][31], $GUI_SHOW)
    GUICtrlSetState($buttons[6][32], $GUI_SHOW)
    GUICtrlSetState($buttons[6][33], $GUI_SHOW)
    GUICtrlSetState($buttons[6][34], $GUI_SHOW)
    GUICtrlSetState($buttons[6][35], $GUI_SHOW)
    GUICtrlSetState($buttons[6][37], $GUI_SHOW)
    GUICtrlSetState($buttons[6][38], $GUI_SHOW)
    GUICtrlSetState($buttons[6][39], $GUI_SHOW)
    GUICtrlSetState($buttons[6][40], $GUI_SHOW)
    GUICtrlSetState($buttons[6][41], $GUI_SHOW)
    GUICtrlSetState($buttons[6][42], $GUI_SHOW)
    GUICtrlSetState($buttons[6][44], $GUI_SHOW)
    GUICtrlSetState($buttons[6][45], $GUI_SHOW)
    GUICtrlSetState($buttons[6][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[7][0], $GUI_SHOW)
    GUICtrlSetState($buttons[7][2], $GUI_SHOW)
    GUICtrlSetState($buttons[7][3], $GUI_SHOW)
    GUICtrlSetState($buttons[7][4], $GUI_SHOW)
    GUICtrlSetState($buttons[7][6], $GUI_SHOW)
    GUICtrlSetState($buttons[7][7], $GUI_SHOW)
    GUICtrlSetState($buttons[7][9], $GUI_SHOW)
    GUICtrlSetState($buttons[7][10], $GUI_SHOW)
    GUICtrlSetState($buttons[7][11], $GUI_SHOW)
    GUICtrlSetState($buttons[7][13], $GUI_SHOW)
    GUICtrlSetState($buttons[7][14], $GUI_SHOW)
    GUICtrlSetState($buttons[7][15], $GUI_SHOW)
    GUICtrlSetState($buttons[7][16], $GUI_SHOW)
    GUICtrlSetState($buttons[7][18], $GUI_SHOW)
    GUICtrlSetState($buttons[7][19], $GUI_SHOW)
    GUICtrlSetState($buttons[7][20], $GUI_SHOW)
    GUICtrlSetState($buttons[7][21], $GUI_SHOW)
    GUICtrlSetState($buttons[7][23], $GUI_SHOW)
    GUICtrlSetState($buttons[7][24], $GUI_SHOW)
    GUICtrlSetState($buttons[7][25], $GUI_SHOW)
    GUICtrlSetState($buttons[7][27], $GUI_SHOW)
    GUICtrlSetState($buttons[7][28], $GUI_SHOW)
    GUICtrlSetState($buttons[7][29], $GUI_SHOW)
    GUICtrlSetState($buttons[7][30], $GUI_SHOW)
    GUICtrlSetState($buttons[7][31], $GUI_SHOW)
    GUICtrlSetState($buttons[7][32], $GUI_SHOW)
    GUICtrlSetState($buttons[7][33], $GUI_SHOW)
    GUICtrlSetState($buttons[7][34], $GUI_SHOW)
    GUICtrlSetState($buttons[7][35], $GUI_SHOW)
    GUICtrlSetState($buttons[7][37], $GUI_SHOW)
    GUICtrlSetState($buttons[7][38], $GUI_SHOW)
    GUICtrlSetState($buttons[7][39], $GUI_SHOW)
    GUICtrlSetState($buttons[7][40], $GUI_SHOW)
    GUICtrlSetState($buttons[7][41], $GUI_SHOW)
    GUICtrlSetState($buttons[7][42], $GUI_SHOW)
    GUICtrlSetState($buttons[7][44], $GUI_SHOW)
    GUICtrlSetState($buttons[7][45], $GUI_SHOW)
    GUICtrlSetState($buttons[7][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[8][0], $GUI_SHOW)
    GUICtrlSetState($buttons[8][2], $GUI_SHOW)
    GUICtrlSetState($buttons[8][3], $GUI_SHOW)
    GUICtrlSetState($buttons[8][4], $GUI_SHOW)
    GUICtrlSetState($buttons[8][6], $GUI_SHOW)
    GUICtrlSetState($buttons[8][7], $GUI_SHOW)
    GUICtrlSetState($buttons[8][13], $GUI_SHOW)
    GUICtrlSetState($buttons[8][14], $GUI_SHOW)
    GUICtrlSetState($buttons[8][15], $GUI_SHOW)
    GUICtrlSetState($buttons[8][16], $GUI_SHOW)
    GUICtrlSetState($buttons[8][18], $GUI_SHOW)
    GUICtrlSetState($buttons[8][19], $GUI_SHOW)
    GUICtrlSetState($buttons[8][20], $GUI_SHOW)
    GUICtrlSetState($buttons[8][21], $GUI_SHOW)
    GUICtrlSetState($buttons[8][22], $GUI_SHOW)
    GUICtrlSetState($buttons[8][26], $GUI_SHOW)
    GUICtrlSetState($buttons[8][27], $GUI_SHOW)
    GUICtrlSetState($buttons[8][28], $GUI_SHOW)
    GUICtrlSetState($buttons[8][30], $GUI_SHOW)
    GUICtrlSetState($buttons[8][31], $GUI_SHOW)
    GUICtrlSetState($buttons[8][32], $GUI_SHOW)
    GUICtrlSetState($buttons[8][33], $GUI_SHOW)
    GUICtrlSetState($buttons[8][28], $GUI_SHOW)
    GUICtrlSetState($buttons[8][29], $GUI_SHOW)
    GUICtrlSetState($buttons[8][33], $GUI_SHOW)
    GUICtrlSetState($buttons[8][39], $GUI_SHOW)
    GUICtrlSetState($buttons[8][40], $GUI_SHOW)
    GUICtrlSetState($buttons[8][41], $GUI_SHOW)
    GUICtrlSetState($buttons[8][42], $GUI_SHOW)
    GUICtrlSetState($buttons[8][44], $GUI_SHOW)
    GUICtrlSetState($buttons[8][45], $GUI_SHOW)
    GUICtrlSetState($buttons[8][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[9][0], $GUI_SHOW)
    GUICtrlSetState($buttons[9][1], $GUI_SHOW)
    GUICtrlSetState($buttons[9][2], $GUI_SHOW)
    GUICtrlSetState($buttons[9][3], $GUI_SHOW)
    GUICtrlSetState($buttons[9][4], $GUI_SHOW)
    GUICtrlSetState($buttons[9][5], $GUI_SHOW)
    GUICtrlSetState($buttons[9][6], $GUI_SHOW)
    GUICtrlSetState($buttons[9][7], $GUI_SHOW)
    GUICtrlSetState($buttons[9][8], $GUI_SHOW)
    GUICtrlSetState($buttons[9][9], $GUI_SHOW)
    GUICtrlSetState($buttons[9][10], $GUI_SHOW)
    GUICtrlSetState($buttons[9][11], $GUI_SHOW)
    GUICtrlSetState($buttons[9][12], $GUI_SHOW)
    GUICtrlSetState($buttons[9][13], $GUI_SHOW)
    GUICtrlSetState($buttons[9][14], $GUI_SHOW)
    GUICtrlSetState($buttons[9][15], $GUI_SHOW)
    GUICtrlSetState($buttons[9][16], $GUI_SHOW)
    GUICtrlSetState($buttons[9][17], $GUI_SHOW)
    GUICtrlSetState($buttons[9][18], $GUI_SHOW)
    GUICtrlSetState($buttons[9][19], $GUI_SHOW)
    GUICtrlSetState($buttons[9][20], $GUI_SHOW)
    GUICtrlSetState($buttons[9][21], $GUI_SHOW)
    GUICtrlSetState($buttons[9][22], $GUI_SHOW)
    GUICtrlSetState($buttons[9][23], $GUI_SHOW)
    GUICtrlSetState($buttons[9][24], $GUI_SHOW)
    GUICtrlSetState($buttons[9][25], $GUI_SHOW)
    GUICtrlSetState($buttons[9][26], $GUI_SHOW)
    GUICtrlSetState($buttons[9][27], $GUI_SHOW)
    GUICtrlSetState($buttons[9][28], $GUI_SHOW)
    GUICtrlSetState($buttons[9][29], $GUI_SHOW)
    GUICtrlSetState($buttons[9][30], $GUI_SHOW)
    GUICtrlSetState($buttons[9][31], $GUI_SHOW)
    GUICtrlSetState($buttons[9][32], $GUI_SHOW)
    GUICtrlSetState($buttons[9][33], $GUI_SHOW)
    GUICtrlSetState($buttons[9][34], $GUI_SHOW)
    GUICtrlSetState($buttons[9][35], $GUI_SHOW)
    GUICtrlSetState($buttons[9][36], $GUI_SHOW)
    GUICtrlSetState($buttons[9][37], $GUI_SHOW)
    GUICtrlSetState($buttons[9][38], $GUI_SHOW)
    GUICtrlSetState($buttons[9][39], $GUI_SHOW)
    GUICtrlSetState($buttons[9][40], $GUI_SHOW)
    GUICtrlSetState($buttons[9][41], $GUI_SHOW)
    GUICtrlSetState($buttons[9][42], $GUI_SHOW)
    GUICtrlSetState($buttons[9][43], $GUI_SHOW)
    GUICtrlSetState($buttons[9][44], $GUI_SHOW)
    GUICtrlSetState($buttons[9][45], $GUI_SHOW)
    GUICtrlSetState($buttons[9][46], $GUI_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    $msg = GUIGetMsg()
    $msg = $GUI_EVENT_CLOSE
    Exit

    [/autoit] [autoit][/autoit] [autoit]

    WEnd

    [/autoit]

    LG Lina

    Lieben Gruß,
    Alina

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Geheime Information: ;)
    OuBVU5ebLhHu5QvlnAyQB4A7SzBrvWulwL7RLl2BdH5tI6sIYspeMKeXMSXl

  • warum benutzt du denn keine schleifen??damit ist das viel einfach und viel kürzer!!!!

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>
    $GUI1 = GUICreate("Lightbox", 768, 302, 148, 281)
    GUISetBkColor(0x000000)

    Global $buttons[11][47]
    Global $left = 8, $top = 26
    For $i = 0 To UBound($buttons, 1) - 1
    For $ii = 0 To UBound($buttons, 2) - 1
    $buttons[$i][$ii] = GUICtrlCreateButton("", $left + ($ii * $left * 2), 8 + ($i * $top), 17, 25, 0)
    ConsoleWrite($left + ($ii * $left * 2) & " " & 8 + ($ii * $top) & @CRLF)
    Next
    Next

    GUISetState(@SW_SHOW)

    ; HIER GEHT ES WEITER
    ; Aus- und einblendungen // aktivieren bzw. deaktivieren
    ;
    ; Meine Array-Hilfe
    ; [0/0] [0/1]
    ; [1/0] [1/1]
    ; [2/0] [2/1]

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    For $i = 0 To UBound($buttons, 1) - 1
    For $j = 0 To UBound($buttons, 2) - 1
    GUICtrlSetState($buttons[$i][$j], $GUI_HIDE)
    Next
    sleep(500)
    Next
    Sleep(2000)
    For $i = 0 To UBound($buttons, 1) - 1
    For $j = 0 To UBound($buttons, 2) - 1
    GUICtrlSetState($buttons[$i][$j], $GUI_SHOW)
    Next
    sleep(500)
    Next

    [/autoit] [autoit][/autoit] [autoit]

    $msg = GUIGetMsg()
    $msg = $GUI_EVENT_CLOSE
    Exit

    [/autoit] [autoit][/autoit] [autoit]

    WEnd

    [/autoit]

    snoozy

    • Offizieller Beitrag

    Hallo!

    snoozer: Wenn Du Alinas Programm mal laufen lassen würdest, könntest auch sehen das dein Programm nicht das gleiche macht!

    Alina: Ich habe dein Programm mal etwas geändert damit das klicken auf "x" funktioniert!

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    Const $blau = 0x0000FF
    Const $gelb = 0xFFFF00
    Const $gruen = 0x00FF00
    Const $lila = 0xFF00FF
    Const $rot = 0xFF0000
    Const $schwarz = 0x000000
    Const $tuerkis = 0x00FFFF
    Const $weiss = 0xFFFFFF

    [/autoit] [autoit][/autoit] [autoit]

    $GUI1 = GUICreate("Lightbox", 768, 302, 148, 281)
    GUISetBkColor(0x000000)

    Global $buttons[11][47]
    Global $left = 8, $top = 26
    For $i = 0 To UBound($buttons, 1) - 1
    For $ii = 0 To UBound($buttons, 2) - 1
    $buttons[$i][$ii] = GUICtrlCreateButton("", $left + ($ii * $left * 2), 8 + ($i * $top), 17, 25, 0)
    GUICtrlSetBkColor(-1,0x00007F)
    GUICtrlSetState(-1,$GUI_DISABLE)
    ConsoleWrite($left + ($ii * $left * 2) & " " & 8 + ($ii * $top) & @CRLF)
    Next
    Next

    GUISetState(@SW_SHOW)

    ; HIER GEHT ES WEITER
    ; Aus- und einblendungen // aktivieren bzw. deaktivieren
    ;
    ; Meine Array-Hilfe
    ; [0/0] [0/1]
    ; [1/0] [1/1]
    ; [2/0] [2/1]

    While 1
    For $i = 0 To 46
    GUICtrlSetState($buttons[1][$i], $GUI_HIDE)
    GUICtrlSetState($buttons[9][$i], $GUI_HIDE)
    Next
    BreakingSleep(500)

    GUICtrlSetState($buttons[2][0], $GUI_HIDE)
    GUICtrlSetState($buttons[2][1], $GUI_HIDE)
    GUICtrlSetState($buttons[2][5], $GUI_HIDE)
    GUICtrlSetState($buttons[2][6], $GUI_HIDE)
    GUICtrlSetState($buttons[2][7], $GUI_HIDE)
    GUICtrlSetState($buttons[2][9], $GUI_HIDE)
    GUICtrlSetState($buttons[2][10], $GUI_HIDE)
    GUICtrlSetState($buttons[2][11], $GUI_HIDE)
    GUICtrlSetState($buttons[2][13], $GUI_HIDE)
    GUICtrlSetState($buttons[2][14], $GUI_HIDE)
    GUICtrlSetState($buttons[2][20], $GUI_HIDE)
    GUICtrlSetState($buttons[2][21], $GUI_HIDE)
    GUICtrlSetState($buttons[2][22], $GUI_HIDE)
    GUICtrlSetState($buttons[2][26], $GUI_HIDE)
    GUICtrlSetState($buttons[2][27], $GUI_HIDE)
    GUICtrlSetState($buttons[2][28], $GUI_HIDE)
    GUICtrlSetState($buttons[2][30], $GUI_HIDE)
    GUICtrlSetState($buttons[2][31], $GUI_HIDE)
    GUICtrlSetState($buttons[2][32], $GUI_HIDE)
    GUICtrlSetState($buttons[2][33], $GUI_HIDE)
    GUICtrlSetState($buttons[2][28], $GUI_HIDE)
    GUICtrlSetState($buttons[2][29], $GUI_HIDE)
    GUICtrlSetState($buttons[2][33], $GUI_HIDE)
    GUICtrlSetState($buttons[2][39], $GUI_HIDE)
    GUICtrlSetState($buttons[2][40], $GUI_HIDE)
    GUICtrlSetState($buttons[2][46], $GUI_HIDE)
    BreakingSleep(500)

    GUICtrlSetState($buttons[3][0], $GUI_HIDE)
    GUICtrlSetState($buttons[3][2], $GUI_HIDE)
    GUICtrlSetState($buttons[3][3], $GUI_HIDE)
    GUICtrlSetState($buttons[3][4], $GUI_HIDE)
    GUICtrlSetState($buttons[3][6], $GUI_HIDE)
    GUICtrlSetState($buttons[3][7], $GUI_HIDE)
    GUICtrlSetState($buttons[3][9], $GUI_HIDE)
    GUICtrlSetState($buttons[3][10], $GUI_HIDE)
    GUICtrlSetState($buttons[3][11], $GUI_HIDE)
    GUICtrlSetState($buttons[3][13], $GUI_HIDE)
    GUICtrlSetState($buttons[3][14], $GUI_HIDE)
    GUICtrlSetState($buttons[3][15], $GUI_HIDE)
    GUICtrlSetState($buttons[3][16], $GUI_HIDE)
    GUICtrlSetState($buttons[3][18], $GUI_HIDE)
    GUICtrlSetState($buttons[3][19], $GUI_HIDE)
    GUICtrlSetState($buttons[3][20], $GUI_HIDE)
    GUICtrlSetState($buttons[3][21], $GUI_HIDE)
    GUICtrlSetState($buttons[3][23], $GUI_HIDE)
    GUICtrlSetState($buttons[3][24], $GUI_HIDE)
    GUICtrlSetState($buttons[3][25], $GUI_HIDE)
    GUICtrlSetState($buttons[3][27], $GUI_HIDE)
    GUICtrlSetState($buttons[3][28], $GUI_HIDE)
    GUICtrlSetState($buttons[3][29], $GUI_HIDE)
    GUICtrlSetState($buttons[3][30], $GUI_HIDE)
    GUICtrlSetState($buttons[3][31], $GUI_HIDE)
    GUICtrlSetState($buttons[3][32], $GUI_HIDE)
    GUICtrlSetState($buttons[3][33], $GUI_HIDE)
    GUICtrlSetState($buttons[3][34], $GUI_HIDE)
    GUICtrlSetState($buttons[3][35], $GUI_HIDE)
    GUICtrlSetState($buttons[3][37], $GUI_HIDE)
    GUICtrlSetState($buttons[3][38], $GUI_HIDE)
    GUICtrlSetState($buttons[3][39], $GUI_HIDE)
    GUICtrlSetState($buttons[3][40], $GUI_HIDE)
    GUICtrlSetState($buttons[3][41], $GUI_HIDE)
    GUICtrlSetState($buttons[3][42], $GUI_HIDE)
    GUICtrlSetState($buttons[3][44], $GUI_HIDE)
    GUICtrlSetState($buttons[3][45], $GUI_HIDE)
    GUICtrlSetState($buttons[3][46], $GUI_HIDE)
    BreakingSleep(500)

    GUICtrlSetState($buttons[4][0], $GUI_HIDE)
    GUICtrlSetState($buttons[4][2], $GUI_HIDE)
    GUICtrlSetState($buttons[4][3], $GUI_HIDE)
    GUICtrlSetState($buttons[4][4], $GUI_HIDE)
    GUICtrlSetState($buttons[4][6], $GUI_HIDE)
    GUICtrlSetState($buttons[4][7], $GUI_HIDE)
    GUICtrlSetState($buttons[4][9], $GUI_HIDE)
    GUICtrlSetState($buttons[4][10], $GUI_HIDE)
    GUICtrlSetState($buttons[4][11], $GUI_HIDE)
    GUICtrlSetState($buttons[4][13], $GUI_HIDE)
    GUICtrlSetState($buttons[4][14], $GUI_HIDE)
    GUICtrlSetState($buttons[4][15], $GUI_HIDE)
    GUICtrlSetState($buttons[4][16], $GUI_HIDE)
    GUICtrlSetState($buttons[4][18], $GUI_HIDE)
    GUICtrlSetState($buttons[4][19], $GUI_HIDE)
    GUICtrlSetState($buttons[4][20], $GUI_HIDE)
    GUICtrlSetState($buttons[4][21], $GUI_HIDE)
    GUICtrlSetState($buttons[4][23], $GUI_HIDE)
    GUICtrlSetState($buttons[4][24], $GUI_HIDE)
    GUICtrlSetState($buttons[4][25], $GUI_HIDE)
    GUICtrlSetState($buttons[4][27], $GUI_HIDE)
    GUICtrlSetState($buttons[4][28], $GUI_HIDE)
    GUICtrlSetState($buttons[4][29], $GUI_HIDE)
    GUICtrlSetState($buttons[4][30], $GUI_HIDE)
    GUICtrlSetState($buttons[4][31], $GUI_HIDE)
    GUICtrlSetState($buttons[4][32], $GUI_HIDE)
    GUICtrlSetState($buttons[4][33], $GUI_HIDE)
    GUICtrlSetState($buttons[4][34], $GUI_HIDE)
    GUICtrlSetState($buttons[4][35], $GUI_HIDE)
    GUICtrlSetState($buttons[4][37], $GUI_HIDE)
    GUICtrlSetState($buttons[4][38], $GUI_HIDE)
    GUICtrlSetState($buttons[4][39], $GUI_HIDE)
    GUICtrlSetState($buttons[4][40], $GUI_HIDE)
    GUICtrlSetState($buttons[4][41], $GUI_HIDE)
    GUICtrlSetState($buttons[4][42], $GUI_HIDE)
    GUICtrlSetState($buttons[4][44], $GUI_HIDE)
    GUICtrlSetState($buttons[4][45], $GUI_HIDE)
    GUICtrlSetState($buttons[4][46], $GUI_HIDE)
    BreakingSleep(500)

    GUICtrlSetState($buttons[5][0], $GUI_HIDE)
    GUICtrlSetState($buttons[5][6], $GUI_HIDE)
    GUICtrlSetState($buttons[5][7], $GUI_HIDE)
    GUICtrlSetState($buttons[5][9], $GUI_HIDE)
    GUICtrlSetState($buttons[5][10], $GUI_HIDE)
    GUICtrlSetState($buttons[5][11], $GUI_HIDE)
    GUICtrlSetState($buttons[5][13], $GUI_HIDE)
    GUICtrlSetState($buttons[5][14], $GUI_HIDE)
    GUICtrlSetState($buttons[5][15], $GUI_HIDE)
    GUICtrlSetState($buttons[5][16], $GUI_HIDE)
    GUICtrlSetState($buttons[5][18], $GUI_HIDE)
    GUICtrlSetState($buttons[5][19], $GUI_HIDE)
    GUICtrlSetState($buttons[5][20], $GUI_HIDE)
    GUICtrlSetState($buttons[5][21], $GUI_HIDE)
    GUICtrlSetState($buttons[5][23], $GUI_HIDE)
    GUICtrlSetState($buttons[5][24], $GUI_HIDE)
    GUICtrlSetState($buttons[5][25], $GUI_HIDE)
    GUICtrlSetState($buttons[5][27], $GUI_HIDE)
    GUICtrlSetState($buttons[5][28], $GUI_HIDE)
    GUICtrlSetState($buttons[5][29], $GUI_HIDE)
    GUICtrlSetState($buttons[5][33], $GUI_HIDE)
    GUICtrlSetState($buttons[5][34], $GUI_HIDE)
    GUICtrlSetState($buttons[5][35], $GUI_HIDE)
    GUICtrlSetState($buttons[5][37], $GUI_HIDE)
    GUICtrlSetState($buttons[5][38], $GUI_HIDE)
    GUICtrlSetState($buttons[5][39], $GUI_HIDE)
    GUICtrlSetState($buttons[5][40], $GUI_HIDE)
    GUICtrlSetState($buttons[5][41], $GUI_HIDE)
    GUICtrlSetState($buttons[5][42], $GUI_HIDE)
    GUICtrlSetState($buttons[5][44], $GUI_HIDE)
    GUICtrlSetState($buttons[5][45], $GUI_HIDE)
    GUICtrlSetState($buttons[5][46], $GUI_HIDE)
    BreakingSleep(500)

    GUICtrlSetState($buttons[6][0], $GUI_HIDE)
    GUICtrlSetState($buttons[6][2], $GUI_HIDE)
    GUICtrlSetState($buttons[6][3], $GUI_HIDE)
    GUICtrlSetState($buttons[6][4], $GUI_HIDE)
    GUICtrlSetState($buttons[6][6], $GUI_HIDE)
    GUICtrlSetState($buttons[6][7], $GUI_HIDE)
    GUICtrlSetState($buttons[6][9], $GUI_HIDE)
    GUICtrlSetState($buttons[6][10], $GUI_HIDE)
    GUICtrlSetState($buttons[6][11], $GUI_HIDE)
    GUICtrlSetState($buttons[6][13], $GUI_HIDE)
    GUICtrlSetState($buttons[6][14], $GUI_HIDE)
    GUICtrlSetState($buttons[6][15], $GUI_HIDE)
    GUICtrlSetState($buttons[6][16], $GUI_HIDE)
    GUICtrlSetState($buttons[6][18], $GUI_HIDE)
    GUICtrlSetState($buttons[6][19], $GUI_HIDE)
    GUICtrlSetState($buttons[6][20], $GUI_HIDE)
    GUICtrlSetState($buttons[6][21], $GUI_HIDE)
    GUICtrlSetState($buttons[6][23], $GUI_HIDE)
    GUICtrlSetState($buttons[6][24], $GUI_HIDE)
    GUICtrlSetState($buttons[6][25], $GUI_HIDE)
    GUICtrlSetState($buttons[6][27], $GUI_HIDE)
    GUICtrlSetState($buttons[6][28], $GUI_HIDE)
    GUICtrlSetState($buttons[6][29], $GUI_HIDE)
    GUICtrlSetState($buttons[6][30], $GUI_HIDE)
    GUICtrlSetState($buttons[6][31], $GUI_HIDE)
    GUICtrlSetState($buttons[6][32], $GUI_HIDE)
    GUICtrlSetState($buttons[6][33], $GUI_HIDE)
    GUICtrlSetState($buttons[6][34], $GUI_HIDE)
    GUICtrlSetState($buttons[6][35], $GUI_HIDE)
    GUICtrlSetState($buttons[6][37], $GUI_HIDE)
    GUICtrlSetState($buttons[6][38], $GUI_HIDE)
    GUICtrlSetState($buttons[6][39], $GUI_HIDE)
    GUICtrlSetState($buttons[6][40], $GUI_HIDE)
    GUICtrlSetState($buttons[6][41], $GUI_HIDE)
    GUICtrlSetState($buttons[6][42], $GUI_HIDE)
    GUICtrlSetState($buttons[6][44], $GUI_HIDE)
    GUICtrlSetState($buttons[6][45], $GUI_HIDE)
    GUICtrlSetState($buttons[6][46], $GUI_HIDE)
    BreakingSleep(500)

    GUICtrlSetState($buttons[7][0], $GUI_HIDE)
    GUICtrlSetState($buttons[7][2], $GUI_HIDE)
    GUICtrlSetState($buttons[7][3], $GUI_HIDE)
    GUICtrlSetState($buttons[7][4], $GUI_HIDE)
    GUICtrlSetState($buttons[7][6], $GUI_HIDE)
    GUICtrlSetState($buttons[7][7], $GUI_HIDE)
    GUICtrlSetState($buttons[7][9], $GUI_HIDE)
    GUICtrlSetState($buttons[7][10], $GUI_HIDE)
    GUICtrlSetState($buttons[7][11], $GUI_HIDE)
    GUICtrlSetState($buttons[7][13], $GUI_HIDE)
    GUICtrlSetState($buttons[7][14], $GUI_HIDE)
    GUICtrlSetState($buttons[7][15], $GUI_HIDE)
    GUICtrlSetState($buttons[7][16], $GUI_HIDE)
    GUICtrlSetState($buttons[7][18], $GUI_HIDE)
    GUICtrlSetState($buttons[7][19], $GUI_HIDE)
    GUICtrlSetState($buttons[7][20], $GUI_HIDE)
    GUICtrlSetState($buttons[7][21], $GUI_HIDE)
    GUICtrlSetState($buttons[7][23], $GUI_HIDE)
    GUICtrlSetState($buttons[7][24], $GUI_HIDE)
    GUICtrlSetState($buttons[7][25], $GUI_HIDE)
    GUICtrlSetState($buttons[7][27], $GUI_HIDE)
    GUICtrlSetState($buttons[7][28], $GUI_HIDE)
    GUICtrlSetState($buttons[7][29], $GUI_HIDE)
    GUICtrlSetState($buttons[7][30], $GUI_HIDE)
    GUICtrlSetState($buttons[7][31], $GUI_HIDE)
    GUICtrlSetState($buttons[7][32], $GUI_HIDE)
    GUICtrlSetState($buttons[7][33], $GUI_HIDE)
    GUICtrlSetState($buttons[7][34], $GUI_HIDE)
    GUICtrlSetState($buttons[7][35], $GUI_HIDE)
    GUICtrlSetState($buttons[7][37], $GUI_HIDE)
    GUICtrlSetState($buttons[7][38], $GUI_HIDE)
    GUICtrlSetState($buttons[7][39], $GUI_HIDE)
    GUICtrlSetState($buttons[7][40], $GUI_HIDE)
    GUICtrlSetState($buttons[7][41], $GUI_HIDE)
    GUICtrlSetState($buttons[7][42], $GUI_HIDE)
    GUICtrlSetState($buttons[7][44], $GUI_HIDE)
    GUICtrlSetState($buttons[7][45], $GUI_HIDE)
    GUICtrlSetState($buttons[7][46], $GUI_HIDE)
    BreakingSleep(500)

    GUICtrlSetState($buttons[8][0], $GUI_HIDE)
    GUICtrlSetState($buttons[8][2], $GUI_HIDE)
    GUICtrlSetState($buttons[8][3], $GUI_HIDE)
    GUICtrlSetState($buttons[8][4], $GUI_HIDE)
    GUICtrlSetState($buttons[8][6], $GUI_HIDE)
    GUICtrlSetState($buttons[8][7], $GUI_HIDE)
    GUICtrlSetState($buttons[8][13], $GUI_HIDE)
    GUICtrlSetState($buttons[8][14], $GUI_HIDE)
    GUICtrlSetState($buttons[8][15], $GUI_HIDE)
    GUICtrlSetState($buttons[8][16], $GUI_HIDE)
    GUICtrlSetState($buttons[8][18], $GUI_HIDE)
    GUICtrlSetState($buttons[8][19], $GUI_HIDE)
    GUICtrlSetState($buttons[8][20], $GUI_HIDE)
    GUICtrlSetState($buttons[8][21], $GUI_HIDE)
    GUICtrlSetState($buttons[8][22], $GUI_HIDE)
    GUICtrlSetState($buttons[8][26], $GUI_HIDE)
    GUICtrlSetState($buttons[8][27], $GUI_HIDE)
    GUICtrlSetState($buttons[8][28], $GUI_HIDE)
    GUICtrlSetState($buttons[8][30], $GUI_HIDE)
    GUICtrlSetState($buttons[8][31], $GUI_HIDE)
    GUICtrlSetState($buttons[8][32], $GUI_HIDE)
    GUICtrlSetState($buttons[8][33], $GUI_HIDE)
    GUICtrlSetState($buttons[8][28], $GUI_HIDE)
    GUICtrlSetState($buttons[8][29], $GUI_HIDE)
    GUICtrlSetState($buttons[8][33], $GUI_HIDE)
    GUICtrlSetState($buttons[8][39], $GUI_HIDE)
    GUICtrlSetState($buttons[8][40], $GUI_HIDE)
    GUICtrlSetState($buttons[8][41], $GUI_HIDE)
    GUICtrlSetState($buttons[8][42], $GUI_HIDE)
    GUICtrlSetState($buttons[8][44], $GUI_HIDE)
    GUICtrlSetState($buttons[8][45], $GUI_HIDE)
    GUICtrlSetState($buttons[8][46], $GUI_HIDE)

    BreakingSleep(2000)

    ; einfach alles wieder einblenden
    For $nZeile = 0 To 10
    For $nSpalte = 0 To 46
    GUICtrlSetState($buttons[$nZeile][$nSpalte], $GUI_SHOW)
    Next
    Next

    $msg = GUIGetMsg()
    if $msg = $GUI_EVENT_CLOSE Then Exit

    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    Func BreakingSleep($SleepTime)
    Local $Start = TimerInit()

    While TimerDiff($Start) < $SleepTime
    $msg = GUIGetMsg()
    if $msg = $GUI_EVENT_CLOSE Then Exit
    WEnd
    EndFunc

    [/autoit]
  • Zitat

    Original von bernd670
    snoozer: Wenn Du Alinas Programm mal laufen lassen würdest, könntest auch sehen das dein Programm nicht das gleiche macht!


    jo hab ich auch grad gemerkt^^ ich dachte daw wird nur durchgezählt deswegen der vorschlaf mit der master-schleife sry :rolleyes:
    ließe sich trotzdem mit schleifen verküzen bzw übersichtlicher machen ggf auch einfacher(finde ich zumindest).....


    snoozy

    //edit okay hab mir den code jatzt ganz genau angeschaut..es geht kaum mi schleifen....

  • Cool,

    vielen Dank.

    Jetzt werde ich noch shcon, das ich die Buttons Sonnengelb oder Neongrün hingebomme.

    Wünsche an dieser Stelle mal allen ein schönes Wochenende.

    Hier brüllt die Sonne den ganzen Tag.

    LG Lina

    Lieben Gruß,
    Alina

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Geheime Information: ;)
    OuBVU5ebLhHu5QvlnAyQB4A7SzBrvWulwL7RLl2BdH5tI6sIYspeMKeXMSXl

    • Offizieller Beitrag

    Hi,

    du könntest das ganze aber trotzdem noch arg kürzen. Habe mal angefangen fürs Prinzip

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    Const $blau = 0x0000FF
    Const $gelb = 0xFFFF00
    Const $gruen = 0x00FF00
    Const $lila = 0xFF00FF
    Const $rot = 0xFF0000
    Const $schwarz = 0x000000
    Const $tuerkis = 0x00FFFF
    Const $weiss = 0xFFFFFF

    [/autoit] [autoit][/autoit] [autoit]

    $GUI1 = GUICreate("Lightbox", 768, 302, 148, 281)
    GUISetBkColor(0x000000)

    [/autoit] [autoit][/autoit] [autoit]

    Global $buttons[11][47]
    Global $2_A[26] = [0, 1, 5, 6, 7, 9, 10, 11, 13, 14, 20, 21, 22, 26, 27, 28, 30, 31, 32, 33, 28, 29, 33, 39, 40, 46]
    Global $3_A[38] = [0, 2, 3, 4, 6, 7, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20, 21, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46]
    Global $left = 8, $top = 26
    For $i = 0 To UBound($buttons, 1) - 1
    For $ii = 0 To UBound($buttons, 2) - 1
    $buttons[$i][$ii] = GUICtrlCreateButton("", $left + ($ii * $left * 2), 8 + ($i * $top), 17, 25, 0)
    GUICtrlSetBkColor(-1, 0x00007F)
    GUICtrlSetState(-1, $GUI_DISABLE)
    Next
    Next

    [/autoit] [autoit][/autoit] [autoit]

    GUISetState(@SW_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    ; HIER GEHT ES WEITER
    ; Aus- und einblendungen // aktivieren bzw. deaktivieren
    ;
    ; Meine Array-Hilfe
    ; [0/0] [0/1]
    ; [1/0] [1/1]
    ; [2/0] [2/1]

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    For $i = 0 To 46
    GUICtrlSetState($buttons[1][$i], $GUI_HIDE)
    GUICtrlSetState($buttons[9][$i], $GUI_HIDE)
    Next
    BreakingSleep(500)

    For $i = 0 To UBound($2_A) - 1
    GUICtrlSetState($buttons[2][$2_A[$i]], $GUI_HIDE)
    Next
    BreakingSleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    For $i = 0 To UBound($3_A) - 1
    GUICtrlSetState($buttons[3][$3_A[$i]], $GUI_HIDE)
    Next
    BreakingSleep(500)
    GUICtrlSetState($buttons[4][0], $GUI_HIDE)
    GUICtrlSetState($buttons[4][2], $GUI_HIDE)
    GUICtrlSetState($buttons[4][3], $GUI_HIDE)
    GUICtrlSetState($buttons[4][4], $GUI_HIDE)
    GUICtrlSetState($buttons[4][6], $GUI_HIDE)
    GUICtrlSetState($buttons[4][7], $GUI_HIDE)
    GUICtrlSetState($buttons[4][9], $GUI_HIDE)
    GUICtrlSetState($buttons[4][10], $GUI_HIDE)
    GUICtrlSetState($buttons[4][11], $GUI_HIDE)
    GUICtrlSetState($buttons[4][13], $GUI_HIDE)
    GUICtrlSetState($buttons[4][14], $GUI_HIDE)
    GUICtrlSetState($buttons[4][15], $GUI_HIDE)
    GUICtrlSetState($buttons[4][16], $GUI_HIDE)
    GUICtrlSetState($buttons[4][18], $GUI_HIDE)
    GUICtrlSetState($buttons[4][19], $GUI_HIDE)
    GUICtrlSetState($buttons[4][20], $GUI_HIDE)
    GUICtrlSetState($buttons[4][21], $GUI_HIDE)
    GUICtrlSetState($buttons[4][23], $GUI_HIDE)
    GUICtrlSetState($buttons[4][24], $GUI_HIDE)
    GUICtrlSetState($buttons[4][25], $GUI_HIDE)
    GUICtrlSetState($buttons[4][27], $GUI_HIDE)
    GUICtrlSetState($buttons[4][28], $GUI_HIDE)
    GUICtrlSetState($buttons[4][29], $GUI_HIDE)
    GUICtrlSetState($buttons[4][30], $GUI_HIDE)
    GUICtrlSetState($buttons[4][31], $GUI_HIDE)
    GUICtrlSetState($buttons[4][32], $GUI_HIDE)
    GUICtrlSetState($buttons[4][33], $GUI_HIDE)
    GUICtrlSetState($buttons[4][34], $GUI_HIDE)
    GUICtrlSetState($buttons[4][35], $GUI_HIDE)
    GUICtrlSetState($buttons[4][37], $GUI_HIDE)
    GUICtrlSetState($buttons[4][38], $GUI_HIDE)
    GUICtrlSetState($buttons[4][39], $GUI_HIDE)
    GUICtrlSetState($buttons[4][40], $GUI_HIDE)
    GUICtrlSetState($buttons[4][41], $GUI_HIDE)
    GUICtrlSetState($buttons[4][42], $GUI_HIDE)
    GUICtrlSetState($buttons[4][44], $GUI_HIDE)
    GUICtrlSetState($buttons[4][45], $GUI_HIDE)
    GUICtrlSetState($buttons[4][46], $GUI_HIDE)
    BreakingSleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[5][0], $GUI_HIDE)
    GUICtrlSetState($buttons[5][6], $GUI_HIDE)
    GUICtrlSetState($buttons[5][7], $GUI_HIDE)
    GUICtrlSetState($buttons[5][9], $GUI_HIDE)
    GUICtrlSetState($buttons[5][10], $GUI_HIDE)
    GUICtrlSetState($buttons[5][11], $GUI_HIDE)
    GUICtrlSetState($buttons[5][13], $GUI_HIDE)
    GUICtrlSetState($buttons[5][14], $GUI_HIDE)
    GUICtrlSetState($buttons[5][15], $GUI_HIDE)
    GUICtrlSetState($buttons[5][16], $GUI_HIDE)
    GUICtrlSetState($buttons[5][18], $GUI_HIDE)
    GUICtrlSetState($buttons[5][19], $GUI_HIDE)
    GUICtrlSetState($buttons[5][20], $GUI_HIDE)
    GUICtrlSetState($buttons[5][21], $GUI_HIDE)
    GUICtrlSetState($buttons[5][23], $GUI_HIDE)
    GUICtrlSetState($buttons[5][24], $GUI_HIDE)
    GUICtrlSetState($buttons[5][25], $GUI_HIDE)
    GUICtrlSetState($buttons[5][27], $GUI_HIDE)
    GUICtrlSetState($buttons[5][28], $GUI_HIDE)
    GUICtrlSetState($buttons[5][29], $GUI_HIDE)
    GUICtrlSetState($buttons[5][33], $GUI_HIDE)
    GUICtrlSetState($buttons[5][34], $GUI_HIDE)
    GUICtrlSetState($buttons[5][35], $GUI_HIDE)
    GUICtrlSetState($buttons[5][37], $GUI_HIDE)
    GUICtrlSetState($buttons[5][38], $GUI_HIDE)
    GUICtrlSetState($buttons[5][39], $GUI_HIDE)
    GUICtrlSetState($buttons[5][40], $GUI_HIDE)
    GUICtrlSetState($buttons[5][41], $GUI_HIDE)
    GUICtrlSetState($buttons[5][42], $GUI_HIDE)
    GUICtrlSetState($buttons[5][44], $GUI_HIDE)
    GUICtrlSetState($buttons[5][45], $GUI_HIDE)
    GUICtrlSetState($buttons[5][46], $GUI_HIDE)
    BreakingSleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[6][0], $GUI_HIDE)
    GUICtrlSetState($buttons[6][2], $GUI_HIDE)
    GUICtrlSetState($buttons[6][3], $GUI_HIDE)
    GUICtrlSetState($buttons[6][4], $GUI_HIDE)
    GUICtrlSetState($buttons[6][6], $GUI_HIDE)
    GUICtrlSetState($buttons[6][7], $GUI_HIDE)
    GUICtrlSetState($buttons[6][9], $GUI_HIDE)
    GUICtrlSetState($buttons[6][10], $GUI_HIDE)
    GUICtrlSetState($buttons[6][11], $GUI_HIDE)
    GUICtrlSetState($buttons[6][13], $GUI_HIDE)
    GUICtrlSetState($buttons[6][14], $GUI_HIDE)
    GUICtrlSetState($buttons[6][15], $GUI_HIDE)
    GUICtrlSetState($buttons[6][16], $GUI_HIDE)
    GUICtrlSetState($buttons[6][18], $GUI_HIDE)
    GUICtrlSetState($buttons[6][19], $GUI_HIDE)
    GUICtrlSetState($buttons[6][20], $GUI_HIDE)
    GUICtrlSetState($buttons[6][21], $GUI_HIDE)
    GUICtrlSetState($buttons[6][23], $GUI_HIDE)
    GUICtrlSetState($buttons[6][24], $GUI_HIDE)
    GUICtrlSetState($buttons[6][25], $GUI_HIDE)
    GUICtrlSetState($buttons[6][27], $GUI_HIDE)
    GUICtrlSetState($buttons[6][28], $GUI_HIDE)
    GUICtrlSetState($buttons[6][29], $GUI_HIDE)
    GUICtrlSetState($buttons[6][30], $GUI_HIDE)
    GUICtrlSetState($buttons[6][31], $GUI_HIDE)
    GUICtrlSetState($buttons[6][32], $GUI_HIDE)
    GUICtrlSetState($buttons[6][33], $GUI_HIDE)
    GUICtrlSetState($buttons[6][34], $GUI_HIDE)
    GUICtrlSetState($buttons[6][35], $GUI_HIDE)
    GUICtrlSetState($buttons[6][37], $GUI_HIDE)
    GUICtrlSetState($buttons[6][38], $GUI_HIDE)
    GUICtrlSetState($buttons[6][39], $GUI_HIDE)
    GUICtrlSetState($buttons[6][40], $GUI_HIDE)
    GUICtrlSetState($buttons[6][41], $GUI_HIDE)
    GUICtrlSetState($buttons[6][42], $GUI_HIDE)
    GUICtrlSetState($buttons[6][44], $GUI_HIDE)
    GUICtrlSetState($buttons[6][45], $GUI_HIDE)
    GUICtrlSetState($buttons[6][46], $GUI_HIDE)
    BreakingSleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[7][0], $GUI_HIDE)
    GUICtrlSetState($buttons[7][2], $GUI_HIDE)
    GUICtrlSetState($buttons[7][3], $GUI_HIDE)
    GUICtrlSetState($buttons[7][4], $GUI_HIDE)
    GUICtrlSetState($buttons[7][6], $GUI_HIDE)
    GUICtrlSetState($buttons[7][7], $GUI_HIDE)
    GUICtrlSetState($buttons[7][9], $GUI_HIDE)
    GUICtrlSetState($buttons[7][10], $GUI_HIDE)
    GUICtrlSetState($buttons[7][11], $GUI_HIDE)
    GUICtrlSetState($buttons[7][13], $GUI_HIDE)
    GUICtrlSetState($buttons[7][14], $GUI_HIDE)
    GUICtrlSetState($buttons[7][15], $GUI_HIDE)
    GUICtrlSetState($buttons[7][16], $GUI_HIDE)
    GUICtrlSetState($buttons[7][18], $GUI_HIDE)
    GUICtrlSetState($buttons[7][19], $GUI_HIDE)
    GUICtrlSetState($buttons[7][20], $GUI_HIDE)
    GUICtrlSetState($buttons[7][21], $GUI_HIDE)
    GUICtrlSetState($buttons[7][23], $GUI_HIDE)
    GUICtrlSetState($buttons[7][24], $GUI_HIDE)
    GUICtrlSetState($buttons[7][25], $GUI_HIDE)
    GUICtrlSetState($buttons[7][27], $GUI_HIDE)
    GUICtrlSetState($buttons[7][28], $GUI_HIDE)
    GUICtrlSetState($buttons[7][29], $GUI_HIDE)
    GUICtrlSetState($buttons[7][30], $GUI_HIDE)
    GUICtrlSetState($buttons[7][31], $GUI_HIDE)
    GUICtrlSetState($buttons[7][32], $GUI_HIDE)
    GUICtrlSetState($buttons[7][33], $GUI_HIDE)
    GUICtrlSetState($buttons[7][34], $GUI_HIDE)
    GUICtrlSetState($buttons[7][35], $GUI_HIDE)
    GUICtrlSetState($buttons[7][37], $GUI_HIDE)
    GUICtrlSetState($buttons[7][38], $GUI_HIDE)
    GUICtrlSetState($buttons[7][39], $GUI_HIDE)
    GUICtrlSetState($buttons[7][40], $GUI_HIDE)
    GUICtrlSetState($buttons[7][41], $GUI_HIDE)
    GUICtrlSetState($buttons[7][42], $GUI_HIDE)
    GUICtrlSetState($buttons[7][44], $GUI_HIDE)
    GUICtrlSetState($buttons[7][45], $GUI_HIDE)
    GUICtrlSetState($buttons[7][46], $GUI_HIDE)
    BreakingSleep(500)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlSetState($buttons[8][0], $GUI_HIDE)
    GUICtrlSetState($buttons[8][2], $GUI_HIDE)
    GUICtrlSetState($buttons[8][3], $GUI_HIDE)
    GUICtrlSetState($buttons[8][4], $GUI_HIDE)
    GUICtrlSetState($buttons[8][6], $GUI_HIDE)
    GUICtrlSetState($buttons[8][7], $GUI_HIDE)
    GUICtrlSetState($buttons[8][13], $GUI_HIDE)
    GUICtrlSetState($buttons[8][14], $GUI_HIDE)
    GUICtrlSetState($buttons[8][15], $GUI_HIDE)
    GUICtrlSetState($buttons[8][16], $GUI_HIDE)
    GUICtrlSetState($buttons[8][18], $GUI_HIDE)
    GUICtrlSetState($buttons[8][19], $GUI_HIDE)
    GUICtrlSetState($buttons[8][20], $GUI_HIDE)
    GUICtrlSetState($buttons[8][21], $GUI_HIDE)
    GUICtrlSetState($buttons[8][22], $GUI_HIDE)
    GUICtrlSetState($buttons[8][26], $GUI_HIDE)
    GUICtrlSetState($buttons[8][27], $GUI_HIDE)
    GUICtrlSetState($buttons[8][28], $GUI_HIDE)
    GUICtrlSetState($buttons[8][30], $GUI_HIDE)
    GUICtrlSetState($buttons[8][31], $GUI_HIDE)
    GUICtrlSetState($buttons[8][32], $GUI_HIDE)
    GUICtrlSetState($buttons[8][33], $GUI_HIDE)
    GUICtrlSetState($buttons[8][28], $GUI_HIDE)
    GUICtrlSetState($buttons[8][29], $GUI_HIDE)
    GUICtrlSetState($buttons[8][33], $GUI_HIDE)
    GUICtrlSetState($buttons[8][39], $GUI_HIDE)
    GUICtrlSetState($buttons[8][40], $GUI_HIDE)
    GUICtrlSetState($buttons[8][41], $GUI_HIDE)
    GUICtrlSetState($buttons[8][42], $GUI_HIDE)
    GUICtrlSetState($buttons[8][44], $GUI_HIDE)
    GUICtrlSetState($buttons[8][45], $GUI_HIDE)
    GUICtrlSetState($buttons[8][46], $GUI_HIDE)

    [/autoit] [autoit][/autoit] [autoit]

    BreakingSleep(2000)

    [/autoit] [autoit][/autoit] [autoit]

    ; einfach alles wieder einblenden
    For $nZeile = 0 To 10
    For $nSpalte = 0 To 46
    GUICtrlSetState($buttons[$nZeile][$nSpalte], $GUI_SHOW)
    Next
    Next

    [/autoit] [autoit][/autoit] [autoit]

    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then Exit

    [/autoit] [autoit][/autoit] [autoit]

    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    Func BreakingSleep($SleepTime)
    Local $Start = TimerInit()

    [/autoit] [autoit][/autoit] [autoit]

    While TimerDiff($Start) < $SleepTime
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then Exit
    WEnd
    EndFunc ;==>BreakingSleep

    [/autoit]

    So long,

    Mega

    • Offizieller Beitrag

    Hallo,

    noch eine andere Möglichkeit!

    Spoiler anzeigen
    [autoit]

    #include <GUIConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    Const $achMuster[11] = [ "***********************************************" , _
    " " , _
    " *** * * ***** *** ***** ***** " , _
    " * * * * * * * * * " , _
    " * * * * * * * * * " , _
    " ***** * * * * * *** * * " , _
    " * * * * * * * * * " , _
    " * * * * * * * * * " , _
    " * * *** * *** ***** * " , _
    " " , _
    "***********************************************" ]

    [/autoit] [autoit][/autoit] [autoit]

    Const $blau = 0x0000FF
    Const $gelb = 0xFFFF00
    Const $gruen = 0x00FF00
    Const $lila = 0xFF00FF
    Const $rot = 0xFF0000
    Const $schwarz = 0x000000
    Const $tuerkis = 0x00FFFF
    Const $weiss = 0xFFFFFF

    [/autoit] [autoit][/autoit] [autoit]

    $GUI1 = GUICreate("Lightbox", 768, 302, 148, 281)
    GUISetBkColor(0x000000)

    Global $buttons[11][47]
    Global $left = 8, $top = 26
    For $i = 0 To UBound($buttons, 1) - 1
    For $ii = 0 To UBound($buttons, 2) - 1
    $buttons[$i][$ii] = GUICtrlCreateButton("", $left + ($ii * $left * 2), 8 + ($i * $top), 17, 25, 0)
    GUICtrlSetBkColor(-1,$gelb)
    GUICtrlSetState(-1,$GUI_DISABLE)
    ConsoleWrite($left + ($ii * $left * 2) & " " & 8 + ($ii * $top) & @CRLF)
    Next
    Next

    GUISetState(@SW_SHOW)

    ; HIER GEHT ES WEITER
    ; Aus- und einblendungen // aktivieren bzw. deaktivieren
    ;
    ; Meine Array-Hilfe
    ; [0/0] [0/1]
    ; [1/0] [1/1]
    ; [2/0] [2/1]

    While 1
    For $nZeile = 0 To 10
    For $nSpalte = 0 To 46
    if StringMid($achMuster[$nZeile],$nSpalte+1,1) = " " Then GUICtrlSetState($buttons[$nZeile][$nSpalte], $GUI_HIDE)
    Next
    BreakingSleep(500)
    Next

    BreakingSleep(2000)

    ; alles wieder einblenden
    For $nZeile = 0 To 10
    For $nSpalte = 0 To 46
    if StringMid($achMuster[$nZeile],$nSpalte+1,1) = " " Then GUICtrlSetState($buttons[$nZeile][$nSpalte], $GUI_SHOW)
    Next
    ;~ BreakingSleep(500)
    Next

    $msg = GUIGetMsg()
    if $msg = $GUI_EVENT_CLOSE Then Exit

    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    Func BreakingSleep($SleepTime)
    Local $Start = TimerInit()

    While TimerDiff($Start) < $SleepTime
    $msg = GUIGetMsg()
    if $msg = $GUI_EVENT_CLOSE Then Exit
    WEnd
    EndFunc

    [/autoit]