I know this is rather a trivial question but I can't get it to work. I want to create a file system browser. The browser consists of a rectangle in the background and a group that has a vertical scrollbar that contains the rectangle. I would like that if I resize the group the rectangle is resizing to the the same height, width and location of the group. I tried following code inside the group:
Code: Select all
on resizeControl
set the rect of graphic "fsRect" to the rect of me
end resizeControl
Thanks,
Chris