DataGrid: mouseup stops working after setting dgProp["default column behavior"]: Reloaded

Trevor DeVore lists at mangomultimedia.com
Wed Apr 29 12:50:17 EDT 2009


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. 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- 
 >

Make any difference? If so then the question becomes, "Why did it ever  
work?".

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com



More information about the Use-livecode mailing list