My button is under the bottom in RR 2.5 ;-)

Dom mcdomi at free.fr
Sun Oct 3 14:11:19 EDT 2004


I have a button, which is placed at the bottom of the card window.
A group script moves this button as the window is resized.

In RR 2.1.x, as I am under OS X, I had to add a "scroll" in order to
place exactly my button:

=====
on resizestack NL,NH
  put the scroll of this stack into scr
  set width of me to NL
  set height of me to NH +scr
  set width of fld "ladate" to NL
  set right of btn "index" to NL-5
  set right of btn "cal" to NL -5
  set width of fld "lanote" to NL
  set height of fld "lanote" to NH -32 +scr
  set bottom of btn "oreille" to NH -1 -- +scr 
-- the button disppears under RR 2.5 !
end resizestack
=====

But this make the button disappear under RR 2.5
Note that I take account of the scroll for the group also...

-- 


More information about the use-livecode mailing list