Testing for visibility

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DaltonCalford
Posts: 22
Joined: Fri May 06, 2011 7:33 pm

Testing for visibility

Post by DaltonCalford » Mon Jul 18, 2011 4:25 am

Can anyone give me a link to a sample or documentation that shows how to test for the visibility state of objects?

This compiles but does not work

if invisible of "OnePip" is "True" then ......

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9648
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Testing for visibility

Post by dunbarx » Mon Jul 18, 2011 4:43 am

Hi.

You need to specify an object (button, field, stack, etc.). The engine does not know what you are talking about...

if the visible of button "yourbutton" is "true" then answer "I can see it"
else answer "where are you?"

Craig Newman

deebee
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 89
Joined: Mon Jul 19, 2010 6:59 am
Location: Illinois, USA

Re: Testing for visibility

Post by deebee » Mon Jul 18, 2011 4:45 am

I'm not sure if this is what your looking for but heres a shot.

Edit: Craig beat me to it.
Attachments
the_invisible_button.zip
(562 Bytes) Downloaded 192 times

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”