check if a property exists...

Jan Schenkel janschenkel at yahoo.com
Sun Nov 21 06:20:48 EST 2004


--- thierry <douez at wanadoo.fr> wrote:
> Hi,
> 
> Is there a simple way to know if
> a property already exists ?
> 
> the test has to be done independently of the value
> of the property, as an existing property with an
> empty
> value is all right.
> 
> Best regards, thierry
> 

Bonjour Thierry,

Have a look at the 'customKeys' function :
--
if "uMyCustomProp" is among the lines of the
customKeys of button "foobar" then ...
--

Hope this helped,

Jan Schenkel.

=====
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



More information about the use-livecode mailing list