Cropping a referenced image
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Aug 15 10:54:41 EDT 2018
We all asked for a table object that worked much like a spreadsheet, and we got something much, much cooler, thanks to the work Trevor did. Greatly appreciated Trevor! Prior to the datagrid, I would be hard pressed to write any kind of database application.
Bob S
> On Aug 15, 2018, at 07:27 , Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Sometimes LiveCode astounds me...
>
> Using Klause's method, plus Datagrid under the hood (and all its code)
>
> 1) the setting to Button icon to the size you want your image cropped, 120X74
> 2) Place an image off screen at +1000 to the right.
> 3) At 120x90 call it img "ytBtnIconTemplate"
>
> I was able to fill the DataGrid with the images *in just SEVEN lines of code* !
More information about the use-livecode
mailing list