I am loading records from a CSV into an array and displaying it in a data grid. The datagrid only shows records in Livecode, in the standalone that is generated it does not show any records. I see the input file and the lines are all read in and look good (I display them in a field). This is on a Mac computer.
The same is of the iPad version. I go to load the file and then it stops responding to anything. The data grid table remains empty
Everything still works beautifully (and properly) in LiveCode itself. The records load and from multiple files. I can edit, delete, add and work with the without any problem.
Any ideas?
What could I have done (added) that allows it to work in LiveCode itself but not in the generated standalones?
Is there any known problem with the standalone's generation?
Is there a limit to LiveCode that at some point it chokes in making the standalone? Too much code?
The loading card has 107 layers/objects and 21 controls
The main card has 141 layers/objects and 55 controls
The last card has 74 layers/objects and 84 controls
Is there any debugging code that I can add to help me? I put results of every step in a field so I can tell that the menuitem that I pick is correct but can not tell what is going wrong after that
Thanks in advance
Standalone does not work with data grids
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Standalone does not work with data grids
Last edited by Newbie4 on Fri Aug 03, 2012 5:07 pm, edited 1 time in total.
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
Re: Standalone does not work with data grids
I verified that the array is being built and populated properly so it is the data grid that is not being populated on the screen under the standalone
Here is the code that allows me to select a class to show in the datagrid.
The class that was loaded is in the menu is there but when I select it, nothing happens.
Again, it works great in LiveCode but does not in the standalone that is built
I think it is the
command because I tried
and it did not work either in the code - in the standalone
Here is the code that allows me to select a class to show in the datagrid.
Code: Select all
on menuPick pItemName
global pClassNo
uiViewClass pItemName
put the dgNumberOfLines of group "Class" into fld numStudents
put pItemName into pClassNo
end menuPick
command uiViewClass pClassPeriod
set the dgData of group "Class" to ar[pClassPeriod]
put pClassPeriod into fld "abc"
end uiViewClass
Again, it works great in LiveCode but does not in the standalone that is built
I think it is the
Code: Select all
set the dgData of group "Class" to ar[pClassPeriod]
Code: Select all
set the dgData of group "Class" to empty
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/