the visible of a stack

Richmond Mathewson geradamas at yahoo.com
Fri Sep 26 06:31:50 EDT 2008


Script in a button in a visible substack:

on mouseUp
  put item 3 of the screenRect into WID
  put item 4 of the screenRect into HIT
  if the loc of stack "Visibubble" is within 0,0,WID,HIT then
    put "I can see you!" into fld "f1"
    if the vis of stack "Visibubble" is false then
    put "I cannae see you!" into fld "f1"
    end if
  else
    put "I cannae see you!" into fld "f1"
    end if
end mouseUp

sincerely, Richmond Mathewson
____________________________________________________________

A Thorn in the flesh is better than a failed Systems Development Life Cycle.
____________________________________________________________


      



More information about the use-livecode mailing list