Hi,
tried to build a standalone from a stack with 2 Datagrids.
Neither in the standalone nor in LC AFTER the build process ends the data grid works. Cannot select a line?!?!!?!
Kind regards,
Ernst
https://www.dropbox.com/s/rppxcncb3fnv6 ... ecode?dl=0
DataGrid in standalone doesn't´t work
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: DataGrid in standalone doesn't´t work
Servus Ernst,
looks like the Datagrid library did not get copied to hte standalone.
And since there is not substack "Datagrid Template xyz...", "Search for inclusion" in the standalone builder settings will not work as exspected.
Check "Select inclusions for standalone" and manually check all that applies.
Hint:
This is invalid syntax, and I wonder why it has compiled!?
You want:
Best
Klaus
looks like the Datagrid library did not get copied to hte standalone.
And since there is not substack "Datagrid Template xyz...", "Search for inclusion" in the standalone builder settings will not work as exspected.
Check "Select inclusions for standalone" and manually check all that applies.
Hint:
This is invalid syntax, and I wonder why it has compiled!?
You want:
Code: Select all
...
## set icon to busy
set CURSOR to busy
...
Klaus
Re: DataGrid in standalone doesn't´t work
Hi Klaus,
thanks for quick response!!!
Looked good and really worked once.
But on second trial same situation.
BTW: after building the standalone the stack reopens in LC and the datagrid doesn't´t work there too!?!?!?!?
After closing stack and reopening it it works again!?!?!?!
should there be a substack "Datagrid Template xyz..."???
p.s.: thanks for the hint - thought I could use the cursor icon to animate a button.... ;-(
thanks for quick response!!!
Looked good and really worked once.
But on second trial same situation.
BTW: after building the standalone the stack reopens in LC and the datagrid doesn't´t work there too!?!?!?!?
After closing stack and reopening it it works again!?!?!?!
should there be a substack "Datagrid Template xyz..."???
p.s.: thanks for the hint - thought I could use the cursor icon to animate a button.... ;-(
Re: DataGrid in standalone doesn't´t work
Hi emir.
Include a substack named "Data Grid Templates Decoy" (exact spelling) as part of the Splash stack. This will force the auto inclusions routine to include the datagrid library in the standalone build. LC v8+ now includes the datagrid library in the manual inclusions option also.
From LiveCode Data Grid pdf:
"...When you build a standalone application Revolution looks for a substack whose name begins with "Data Grid Templates". If it finds one then the revDataGridLibrary stack is added to your standalone application. Some developers prefer to use a launcher (or splash) stack technique. This technique builds a standalone using a stack with very little code in it. In this case the stack used to build the standalone will not have a substack whose name begins with "Data Grid Templates" as no data grids have been added to it.
In this case you will need to create a substack that tricks the Standalone Builder into adding the necessary stack files. From the File menu, create a new substack of your launcher stack. Name the substack "Data Grid Templates Dud" [or "Data Grid Templates Decoy"] and save your launcher stack. Now if you build a standalone application the Standalone Builder will include the necessary data grid [library] stack." Terry
Include a substack named "Data Grid Templates Decoy" (exact spelling) as part of the Splash stack. This will force the auto inclusions routine to include the datagrid library in the standalone build. LC v8+ now includes the datagrid library in the manual inclusions option also.
From LiveCode Data Grid pdf:
"...When you build a standalone application Revolution looks for a substack whose name begins with "Data Grid Templates". If it finds one then the revDataGridLibrary stack is added to your standalone application. Some developers prefer to use a launcher (or splash) stack technique. This technique builds a standalone using a stack with very little code in it. In this case the stack used to build the standalone will not have a substack whose name begins with "Data Grid Templates" as no data grids have been added to it.
In this case you will need to create a substack that tricks the Standalone Builder into adding the necessary stack files. From the File menu, create a new substack of your launcher stack. Name the substack "Data Grid Templates Dud" [or "Data Grid Templates Decoy"] and save your launcher stack. Now if you build a standalone application the Standalone Builder will include the necessary data grid [library] stack." Terry
Beginner Lab (LiveCode tutorial) and StarterKit (my public stacks)
https://tlittle72.neocities.org/info.html
https://tlittle72.neocities.org/info.html