Hi Jacque,
I did move the commands to the openCard handler. The fact that it was not failing in the IDE contributed to my "needless suffering."
Search found 38 matches
- Thu Sep 23, 2021 2:15 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ScrollLineIntoView not working on iOS Simulator
- Replies: 5
- Views: 3300
- Thu Sep 23, 2021 2:56 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ScrollLineIntoView not working on iOS Simulator
- Replies: 5
- Views: 3300
Re: ScrollLineIntoView not working on iOS Simulator
I solved the problem I was having. The card needs to be open first. As I found in the LiveCode Lessons under Data Grids--"What sorts of things should I not do in order to avoid needless suffering?": "When a Data Grid renders it dynamically creates fields and accesses certain properties. Some of thes...
- Tue Sep 21, 2021 5:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ScrollLineIntoView not working on iOS Simulator
- Replies: 5
- Views: 3300
Re: ScrollLineIntoView not working on iOS Simulator
Hi Jacque, Thanks for the response. The dgHilitedLine has not changed when returning to the card. The answer command that you suggested, proves that. I only have an issue when I test on the iOS simulator and on my iPhone. I'm trying to figure out why the data grid returns to the top of the card on t...
- Mon Sep 20, 2021 4:01 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: ScrollLineIntoView not working on iOS Simulator
- Replies: 5
- Views: 3300
ScrollLineIntoView not working on iOS Simulator
Hello, My app has a data grid with 50 rows. When a user taps one of the rows in the data grid, it opens another card where an image is displayed. When the user goes back to the card with the data grid, I want that card to open with the row that was just tapped, in view. For example, if the user taps...
- Tue Jul 21, 2020 5:16 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reference DataGrid or Data Array?
- Replies: 10
- Views: 5912
Re: Reference DataGrid or Data Array?
Hi Klaus, I was able to resolve the problem with changing objects on the Data Grid. I obviously needed to change the code in the "LayoutControl" in the Behavior Script of the DG that referenced an image object, so thus the error when I changed to a button object. Now that I'm using buttons, I don't ...
- Mon Jul 20, 2020 7:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reference DataGrid or Data Array?
- Replies: 10
- Views: 5912
Re: Reference DataGrid or Data Array?
iOS and Android are CASE sensitive operating systems! In your very first script you have a folder named -> Images -> Upper case i But in the last scipts posted here you use -> images -> lower case i So please fix this and try again! After your 1st reply when you suggested this, I changed all the fo...
- Mon Jul 20, 2020 6:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reference DataGrid or Data Array?
- Replies: 10
- Views: 5912
Re: Reference DataGrid or Data Array?
Hi Klaus, Thanks again for looking at this. 1. Did you add the folder "Images" to your runtime via the "Copy files" tab in the "Standalone Appliction Settings"? If not, there will be no images in your runtime! 2. Why not put that folder into the folder that contains your current stack? That way no n...
- Mon Jul 20, 2020 5:33 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reference DataGrid or Data Array?
- Replies: 10
- Views: 5912
Re: Reference DataGrid or Data Array?
Hello Klaus, I incorporated the changes you suggested regarding using specialFolderPath(“resources”), but nothing seems to work in terms of getting the images stored in a folder, into the image object on my data grid. command uiPopulatePeople if the environment is “development” then put “/user/charl...
- Fri Jul 17, 2020 4:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reference DataGrid or Data Array?
- Replies: 10
- Views: 5912
Re: Reference DataGrid or Data Array?
Hi Klaus, Thank you very much for the reply. I apologize for not using code tags to format my scripts in the earlier post. So here are all the handlers that I am attempting to use to display the image. The image should be displayed on card “display” in a larger version than what appears on the thumb...
- Fri Jul 17, 2020 7:23 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Reference DataGrid or Data Array?
- Replies: 10
- Views: 5912
Reference DataGrid or Data Array?
Reference the DataGrid or theData Array? Hello, I am working on an app that has a Map and a DataGrid. The map uses the LiveCode MapKit external, mergMK. On the card with the mergMK mapkit (card “map”), when the user touches the callout, I want the correct image to open on another card (card “display...
- Wed Mar 23, 2016 2:38 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Getting correct result from database using counter
- Replies: 20
- Views: 15833
Re: Getting correct result from database using counter
Hi AxWald! I do have the proper lines in tData. I continuously check that tData contains the proper lines. I appreciate you taking a look! Really, all I'm trying to do is get different numbers into the markers on my map. For example, I want the 1st marker to be labeled "6", the 2nd marker should hav...
- Mon Mar 21, 2016 9:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Getting correct result from database using counter
- Replies: 20
- Views: 15833
Re: Getting correct result from database using counter
Hi Pete!
I did change the SELECT statement. That part is working correctly.
I will send you everything to the email you provided. I very much appreciate you taking a look!
I did change the SELECT statement. That part is working correctly.
I will send you everything to the email you provided. I very much appreciate you taking a look!
- Mon Mar 21, 2016 3:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Getting correct result from database using counter
- Replies: 20
- Views: 15833
Re: Getting correct result from database using counter
Hi SparkOut! Thanks for taking a look. The addMarker handler is doing its job...it is putting the correct values into latitude, longitude, and title (using pPosition and pTitle). Additionally, I changed to "add 1 to tCounter" in "loadSelectedResult" and that did not change the results I am getting. ...
- Mon Mar 21, 2016 2:34 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Getting correct result from database using counter
- Replies: 20
- Views: 15833
Re: Getting correct result from database using counter
Hi Pete! Thanks for the response...I really appreciate it. When I set the breakpoint, my tLocArray variables appear as they should. However, part of the problem is that its not updating (i.e. not reading line2, line3, etc.)...it is staying on line 1, so the only thing that appears in the markers is ...
- Fri Mar 18, 2016 9:20 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Getting correct result from database using counter
- Replies: 20
- Views: 15833
Re: Getting correct result from database using counter
Here is the database schema: function databaseGetLocations put "SELECT Address, Latitude, Longitude, zIndex FROM Sites;" into tCreateListSQL put revDataFromQuery(tab,return,gDatabaseID,tCreateListSQL) into gLocationList return gLocationList end databaseGetLocations And here is the code that I use in...