Re: stack window rect...
use the effective rect, think thats what you're looking for. On Tue, Jan 22, 2013 at 8:40 AM, Paul Dupuis p...@researchware.com wrote: I am sure this has been discussed previously, but does anyone know of a function/property in LC to provide the working STACK rect? - i.e. the rect of a stack that includes OS borders and titlebar? It seems like there should be a get the working rect of stack XYZ syntax that returns the rect of stack XYZ plus the border and titlebar dimensions added in. Or do I need to account for the different window border sizes and titlebar sizes for every different flavor and version of OS LiveCode runs on?!?? -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: stack window rect...
Unfortunately, no, the effective rect of a stack is the same as the rect - the interior dimensions of the stack. As I recall prior posts to this list and elsewhere, I seem to recall that a property/function to provide the outer bounds of a stack window does not actually exists in LC 5.5.3 or earlier. Until something is added to future LC engines, I guess I'll just need to do the math myself. On 1/22/2013 10:50 AM, Mike Bonner wrote: use the effective rect, think thats what you're looking for. On Tue, Jan 22, 2013 at 8:40 AM, Paul Dupuis p...@researchware.com wrote: I am sure this has been discussed previously, but does anyone know of a function/property in LC to provide the working STACK rect? - i.e. the rect of a stack that includes OS borders and titlebar? It seems like there should be a get the working rect of stack XYZ syntax that returns the rect of stack XYZ plus the border and titlebar dimensions added in. Or do I need to account for the different window border sizes and titlebar sizes for every different flavor and version of OS LiveCode runs on?!?? -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: stack window rect...
Hi Paul, Am 22.01.2013 um 16:40 schrieb Paul Dupuis p...@researchware.com: I am sure this has been discussed previously, but does anyone know of a function/property in LC to provide the working STACK rect? - i.e. the rect of a stack that includes OS borders and titlebar? no, something like this this has not (yet) been implemented. It seems like there should be a get the working rect of stack XYZ syntax that returns the rect of stack XYZ plus the border and titlebar dimensions added in. Or do I need to account for the different window border sizes and titlebar sizes for every different flavor and version of OS LiveCode runs on?!?? Yes. I found an older text file on my hd that might get you started. Copy to a new text document and view in a monospaced font, values in pixel: OSPlatform SystemVersion Title Bar LeftSide RightSide Bottom Windows 95Win32 4.024444 Windows 98Win32 4.10 24444 Windows XPWin32 NT 5.1 30444 Mac OS 9 MacOS 9.2.2 22676 Mac OS X MacOS 10.2.6 22111 -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: stack window rect...
On 1/22/2013 11:10 AM, Klaus on-rev wrote: I found an older text file on my hd that might get you started. Copy to a new text document and view in a monospaced font, values in pixel: OSPlatform SystemVersion Title Bar LeftSide RightSide Bottom Windows 95Win32 4.024444 Windows 98Win32 4.10 24444 Windows XPWin32 NT 5.1 30444 Mac OS 9 MacOS 9.2.2 22676 Mac OS X MacOS 10.2.6 22111 Klaus, Thank you - this table is very very helpful for my immediate needs. -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode