Re: using imageSource in datagrid tables

2016-03-07 Thread Phil Davis

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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: using imageSource in datagrid tables

2016-03-07 Thread zryip theSlug
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  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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
Zryip TheSlug
http://www.aslugontheroad.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


using imageSource in datagrid tables

2016-03-07 Thread Phil Davis

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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode