How know if a stack is maximized ?
Malte Brill
revolution at derbrill.de
Tue Oct 9 15:44:55 EDT 2007
Hi,
just throwing in a thought. If you assume you never start up
maximized you can create your own property:
on openStack
set the uIsMaximized of this stack to false
end openStack
on resizestack
if item 2 of the mouseLoc<=0 and item 1 of the mouseLoc < the
right of this cd - 4 then
-- maximize button clicked
set the uIsMaximized of this stack to not the uIsMaximized of
this stack
else
-- other means of resizing
end if
pass resizeStack
end resizestack
All the best,
Malte
More information about the use-livecode
mailing list