the visible of a stack

Chipp Walters chipp at chipp.com
Wed Sep 24 19:54:24 EDT 2008


Mikey,

Here's a function which might do what you want..course then it might
not either ;-)

function isStackCurrentlyVisibleOnMainMonitor pStack
   --> pStack IS THE SHORT NAME OF STACK
   set wholematches to true
   if pStack is among the lines of windows() then
      if the topLeft of stack pStack is within the screenrect then return true
      if the bottomright of stack pStack is within the screenrect then
return true
      if the blendlevel of stack pStack > 0 then return true
      return false
   else
      return false
   end if
end isStackCurrentlyVisibleOnMainMonitor



More information about the use-livecode mailing list