Antwort auf: Grröße Stack

Startseite Foren Deutsches LiveCode-Forum Grröße Stack Antwort auf: Grröße Stack

#20091
Klaus Major
Administrator

    Hi Oliver,

    CARDS haben diese Property (height/width) eben nicht, sondern nur der Stack! 🙂
    Stackgröße = Kartengröße, also so klappts dann:

    on mouseDown
       if the label of me is "640x480" then
          ## Zahlen benötigen keine Gänsefüßchen!
          set the width of THIS STACK to 640
          set the height of THIS STACK to 480
       end if
    end mouseDown

    Falls Dein Dropdownmenü noch weitere „menutitems“ enthalten soll, empfehle ich,
    die „on menupick“ Message zu skripten.

    Gruß

    Klaus