using imageSource in datagrid tables

Phil Davis revdev at pdslabs.net
Mon Mar 7 20:52:14 EST 2016


Thank you Zryip! This works nicely.

Phil



On 3/7/16 3:27 PM, zryip theSlug wrote:
> Phil,
>
> In the custom behavior of the column or in the custom column behavior
> of your datagrid:
>
> on FillInData pData
>     set the text of the long ID of me to pData
>     set the imageSource of char 1 of (the long id of me) to 1010
> end FillInData
>
>
> Best Regards,
>
> On Mon, Mar 7, 2016 at 8:32 PM, Phil Davis<revdev at pdslabs.net>  wrote:
>> Hi folks,
>>
>> I want to set the imageSource of char 1 of a data grid table cell to an icon
>> ID. Has anyone succeeded in doing this? If so, could you post your code? I'm
>> struggling with it.
>>
>> Thanks -
>>
>> --
>> Phil Davis
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis





More information about the Use-livecode mailing list