Handling multiple stacks and datagrid

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
shoshinsha
Posts: 35
Joined: Fri Jul 18, 2014 5:17 am

Handling multiple stacks and datagrid

Post by shoshinsha » Wed Feb 25, 2015 9:36 am

Hi! I'm compiling a mobile app that combines multiple stacks (not substacks), with one stack acting as the "library" (start using stack "s1").

I wanted to pass some data from the library stack (stack "s1") to another stack (e.g. stack "s2"), and place the data on s2's datagrid form.
My problem is that it works well when testing on desktop, before it is built; once it is built as a standalone Android app, the data could not be displayed properly on the datagrid on the mobile device.

Link to download the stacks here:
Stack s1: https://www.dropbox.com/s/21ywxk2dl16kp ... ecode?dl=0
Stack s2: https://www.dropbox.com/s/f111joebkxa1e ... ecode?dl=0

Or, get the standalone (Android) here:
https://www.dropbox.com/s/4r2kj59wvpkr6yf/s1.apk?dl=0

Screenshots (Android phone):
Stack s1: https://www.dropbox.com/s/sejnym90k3m8d ... 8.png?dl=0
Click [Button] to go to card s2 of Stack s2, and this is how stack s2 looks like in mobile:
https://www.dropbox.com/s/9iultp57zea6c ... 3.png?dl=0
*Notice that I have also included a list field, which displays the data correctly.

Really appreciate it if anyone can point out what is the cause of the issue, and what can be done to display data correctly on datagrid passed from another stack...
Thank you!

P.S. pardon my stacks UI, they are just a test stacks :)
Using: LiveCode 7.0.1

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”