DataGrid: mouseup stops working after setting dgProp["default column behavior"]: Reloaded
klaus at major.on-rev.com
klaus at major.on-rev.com
Wed Apr 29 13:02:21 EDT 2009
Hi Trevor,
> On Apr 29, 2009, at 12:39 PM, klaus at major.on-rev.com wrote:
>
>>>> But my other observation is also correct, this only happens after
>>>> I set the custom behavior AND the stack
>>>> with the grid is a substack, honestly :-)
>>>> All is fine if that stack is a mainstack, makes no sense, but
>>>> that's the way it is.
>>> Can you email me the script of your custom behavior? I will look
>>> at that first and if the answer isn't obvious then we can try and
>>> figure out the substack issue.
>>
>> It was in my last mail:
>> on FillInData pData
>> set the text of me to win2mac(urldecode(pData))
>> end fillInData
>> Nothing extraordinary I think, and it works as exspected.
> I thought this was just an extract from the script.
Yes, but you asked for "the script of your custom behavior" and this
is it :-)
I only need this handler in my custom behavior!
> You haven't defined the getprop for dgDataControl. See this lesson
> on how to create your own column behavior:
> <http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/3966-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell-
> >
I did, but did not mention it ;-)
...
set the dgProps["default column behavior"] of group "DataGrid" to the
long id of btn "fill_in1" of stack "iduallib3"
...
> Make any difference? If so then the question becomes, "Why did it
> ever work?".
See above.
> Regards,
>
> --
> Trevor DeVore
> Blue Mango Learning Systems
> www.bluemangolearning.com - www.screensteps.com
Best
Klaus
Klaus Major
klaus at major.on-rev.com
http://www.major-k.de
More information about the use-livecode
mailing list