Is there a way to test if an object is invisible ?
Farvardin
01 Sep 2003 17:07
I guess it'd be :
if property <YourObject; invisible> then { /.../ Your code /.../ }
Anonymous
01 Sep 2003 17:15
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
01 Sep 2003 18:51
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
01 Sep 2003 23:02
Thanks for the info. I actually found I could use the unavailable property instead of the visible and it works good. Thanks