Re: the objectType of me?

2011-06-26 Thread Shao Sean
You could always use a frontScript to add that functionality yourself.. getProp controlType return word 1 of the name of the target end controlType if (the controlType of me = "button") then # do button stuff else # do non-button stuff end if ___

Re: the objectType of me?

2011-06-26 Thread Sivakatirswami
On 6/25/11 7:06 PM, Slava Paperno wrote: Is that the way to do it? Seems a bit childish:) There's got to be a "controlType" property, no? Slava Sorry, I don't think so... using Claudi suggestion: by making a command/function put this in your object's script on mousewithin switchContr

Re: the objectType of me?

2011-06-26 Thread Web Admin Himalayan Academy
On 6/25/11 10:49 PM, Claudi Cornaz wrote: Hi Slava, You can use: word 1 of the abbrev name of me The abbrev name will return 'the type of control and the short name' like: button "myButton" or graphic "this grc" Claudi Slava... there is no "controlType" using Claudi suggestion: by makin

Re: the objectType of me?

2011-06-26 Thread Claudi Cornaz
Hi Slava, You can use: word 1 of the abbrev name of me The abbrev name will return 'the type of control and the short name' like: button "myButton" or graphic "this grc" Claudi On 26 jun 2011, at 07:00, Slava Paperno wrote: > I'm looking for the name of the property that states the object'

Re: the objectType of me?

2011-06-25 Thread Joe Lewis Wilkins
Hi Slava, I believe you're looking for the short name of me or the short name of the target is "button" HTH, Joe Lewis Wilkins Architect On Jun 25, 2011, at 10:00 PM, Slava Paperno wrote: > I'm looking for the name of the property that states the object's control > type, e.g. > > if t

the objectType of me?

2011-06-25 Thread Slava Paperno
I've discovered that I can use this: if word 1 of the long name of target is "button" then... Is that the way to do it? Seems a bit childish :) There's got to be a "controlType" property, no? Slava ___ use-livecode mailing list use-livecode@lists.ru

the objectType of me?

2011-06-25 Thread Slava Paperno
I'm looking for the name of the property that states the object's control type, e.g. if the controlType of me is "button" then set cursor to "hand" The term "controlType" exists only in my imagination... what is that property called, please? Slava _