the objectType of me?
katir at hindu.org
Sun Jun 26 07:28:35 EDT 2011
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?
Sorry, I don't think so...
using Claudi suggestion: by making a command/function
put this in your object's script
switchControls(the abbrev name of me)
Then in your group, card or stack script put:
command switchControls pObjectName
put word 1 of pObjectName into tControlType
set the cursor to hand
answer "this is a field" with "OK"
set the cursor to iBeam
Tried to put these script handlers in to button and use the button ID as
a behavior in other objects, but it doesn't work.
dunnu why.. the "host" object does not pass "mousewithin" to the
behavior object assigned to it. i think I recall something about this
from one of the conferences but don't know where it is documented.
More information about the Use-livecode