data grid on Android

Charles E Buchwald charles at buchwald.ca
Thu Sep 26 18:39:37 EDT 2013


Hi Igor,

I'm not that good with datagrids myself, but...

I think to find the total height of the content of the datagrid, you have to use the formattedHeight property.

To implement scrolling on Android, you use mobileControlCreate to create a mobile scroller control, which you then use to send scrolling messages to your datagrid. There are lessons on this somewhere.

And for referencing images on mobile, you can copy them like you did, but to refer to them you have to set the defaultFolder property. There are a lot of rules for folders on all the different platforms.... Perhaps someone else on the list can explain them more clearly then I can.

I know I'm short on details here... hope this puts you on the scent...

Cheers,
- Charles

On 26 Sep 2013, at 5:25 PM, Nicolas Cueto <niconiko at gmail.com> wrote:

> Hmm... Hello? Is there anybody in there? Just nod if you can hear me...
> 
> With the number of messages mistakenly labelled as spam, thought I'd try.
> 
> 
> On Thu, Sep 26, 2013 at 3:35 PM, Nicolas Cueto <niconiko at gmail.com> wrote:
> 
>> Not knowing much about data grids in general, let alone on mobile, I'm
>> studying the sample stack from LiveCode Lessons on this topic.
>> 
>> On the desktop, all's ok. On my Android device, some problems.
>> 
>> How to find out the vertical length of data when it's taller than the
>> datagrid object?
>> 
>> How to implement an Android-style scroll when vertical length does exceed
>> object height?
>> 
>> And, how to reference images in a datagrid object?
>> 
>> About that last one. On the sample stack from LiveCode Lessons, the image
>> path is "images/monkey.jpg". So in "Standalone settings > Copy file" I
>> selected both the folder and the image itself, with "Copy Referenced Files"
>> both checked and unchecked. But, no monkey on the mobile datagrid.
>> 
>> Cheers.
>> --
>> Nicolas Cueto
>> 
> _______________________________________________
> 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

--
Charles E. Buchwald
CEO/Director General

Museografica Digital
http://digital.museografica.com

Email Notice: http://wp.me/P3aT4d-33




More information about the use-livecode mailing list