Antwort auf: ScriptEditor-Fenster staffeln

Startseite Foren Deutsches LiveCode-Forum ScriptEditor-Fenster staffeln Antwort auf: ScriptEditor-Fenster staffeln

#5155
pderks
Teilnehmer

    Hallo Georg, hallo Klaus,

    danke für Eure Hilfe.

    Ich bin ein It-Extrem-Nutzer und hatte bisher die Kontrolle nie verloren (hab es dennoch getauscht).

    Das Ziel der gestaffelten Anordnung habe ich erreicht, nachdem ich diese Zeile eingefügt habe:
    go window WindowLine

    Mein Handler liest sich also jetzt so:

    on pda_WindowStagger_ScriptEditor Patt
      put the Windows into WindowList
      filter WindowList with "revNewScriptEditor*"
      repeat with ii = 1 to the Number of lines in WindowList
        put line ii of WindowList into WindowLine
        go window WindowLine
        set the Rect of window WindowLine to "100,100,1000,600"
        put Patt into fld "Find" of window WindowLine
        set the TopLeft of window WindowLine to 50 + (ii - 1) * 10,50 + (ii -1) * 10
      end repeat
    end pda_WindowStagger_ScriptEditor

    Eine schöne Woche wünsche ich Euch.

    Peter