The invisible property/tag

Anonymous
Is there a way to test if an object is invisible ?

Farvardin
I guess it'd be :

		if property <YourObject; invisible> then {
/.../ Your code /.../
}

Anonymous
I tried treating as a property and could not get to to work. I figured I could set a flag at the beginning and then switch it when the object was revealed but I did'nt want to add a step if I did'nt have to.

paul_one
For some reason it doesn't check the visible/invisible value itself - but rather checks the properties...

When you change the property to "invisible" it adds a property "invisible" and the conditional works - when it's set to be INITIALLY invisible it checks but comes up false since it isn't there in the properties!

Maybe instead of a "invisible" addition to the object, we should fully use the properties and have "invisible" (or more to my liking visible/not visible) in there...
It works - it's just that, QDK still uses the "invisible" part of the object. This should only be kept for compatibility now.

_________________
Computer Whizz
==Insert Sig Here!==

Currently Listening To :
Cardigans - Love Fool
Using Winamp.

Anonymous
Thanks for the info. I actually found I could use the unavailable property instead of the visible and it works good. Thanks

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums