Antwort auf: Stackgröße Windows

Startseite Foren Deutsches LiveCode-Forum Stackgröße Windows Antwort auf: Stackgröße Windows

#6274
Klaus Major
Administrator

    Naja, fast 🙂

    on resizestack
      ## Unnötig, der User könnte sogar ein kurzes Aufblitzen sehen!
      ## set the rect of widget "browser1" to the rect of this cd
      put the rect of this cd into tRect 
      ## Das muss natürlich in eine neue Zeile
      add 60 to item 2 of tRect
      ## Jetzt das Rect setzen
      set the rect of widget "browser1" to tRect
    end resizestack

    Eine weitere Möglichkeit, die die mitgelieferten Parameter nutzt:

    on resizestack neueB,neueH,alteB,alteH
      put "0,60," & neueB & "," & neueH into tRect
      set the rect of widget "browser1" to tRect
    end resizestack

    Capisce?