Stack Width & Menu Buttons

Rob Cozens rcozens at pon.net
Mon Jun 23 10:02:00 EDT 2003


Hi All,

Last week Richard asked if anyone cared to speculate how or why a 
stack's revStack property could affect stack window size.  Based on 
my experience this morning, my speculation is they do not...rather 
the problem he & I saw appears to be due to the fact that Rev or the 
MC engine adjusts the window size on Mac OS systems between the 
stack's preOpenStack & openStack handlers.

	1 Create a simple stack with a menu group.

	2 Note the stack height and place a statement in preOpenStack logic
	  setting the stack height.

	3 Quit Rev, restart, & open the stack...the stack window will be
	  correct if the menubar's "Use as menu on Mac OS" property is NOT
	  checked, but incorrect if the property is set.

	4 With the "use as menu..." on, move the height adjustment from
	  preOpenStack to openStack.

	5 Repeat Step 3...height is correct.

Note: The was a recent post that suggested setting stack height was 
not necessary because the window is only truncated in the Development 
UI.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list