Newbie question

Klaus major-k klaus at major-k.de
Wed Apr 30 07:47:20 EDT 2014


Hi Alain,

Am 30.04.2014 um 13:41 schrieb Alain Farmer <alain_farmer at yahoo.com>:

> Thanks for your response, Klaus.
> I figured it out. Fields and buttons don't have the cantDelete property.
> Groups do have the cantDelete property.
> Groups, Fields, Buttons .. eg controls ... are aka PARTS too.

AH! part = control! 
Go figure!

Still learning something new after using MC/RR/LC for 15 years :-D
Thanks!

> Btw I've just completed a stack for experimenting with XMLlib; that I will share soon.
> ...
>> I am stumped. Why the contradiction below ?
>> 
>> on mouseUp
>>     answer the cantDelete of part 1 -- answers true or false
>>     repeat with x = 1 to the number of parts
>>        get the cantDelete of part x -- error! object does not have this property
>>     end repeat
>> end mouseUp
> I'm stumped, too! What is a PART in Livecode? 8-)

Best

Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list