the effective width of a stack?

Bob Sneidar bobsneidar at iotecdigital.com
Wed Aug 17 13:45:24 EDT 2022


The effective keyword can be used with the following inherited properties :

	• backgroundColor property
	• backgroundPattern property
	• backgroundPixel property
	• bottomColor property
	• bottomPattern property
	• bottomPixel property
	• focusColor property
	• focusPattern property
	• focusPixel property
	• foregroundColor property
	• foregroundPattern property
	• foregroundPixel property
	• hiliteColor property
	• hilitePattern property
	• hilitePixel property
	• topColor property
	• topPattern property
	• topPixel property
	• shadowColor property
	• shadowPattern property
	• shadowPixel property
	• textFont property
	• textHeight property
	• textSize property
	• textStyle property
	• filename of stack property
	• rectangle property
	• layerMode property

I don't see "width" there. You have to use rect then do the math. 

Bob S

> On Aug 17, 2022, at 10:38 , Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I can across some old code where I an referring to
> 
> if (the effective width of stack X > someValue) then
> 
> This code produces no errors and works. However, I was just trying to look up 'effective width' to see exactly what it was doing in the Livecode 9.6.8 Dictionary and struck out!



More information about the use-livecode mailing list