I'm working on a MacBook. I'm now grappling with the Datagrid form Lesson here:
http://lessons.livecode.com/m/datagrid/ ... -of-people
Most of it is going well and is understandable. However, I'm having difficulty with the location of the image file folder. I downloaded the sample app to my "Downloads" folder and it works perfectly. However, my test app doesn't display the monkey.jpg or any other image I substitute when run from a different folder.
As an example,I have the test app located in Documents/LiveCodeProjects/DatagridLesson. When I try to run the app from its original location, the images don't display. When I move the app to the downloads folder, the images do display. I've searched the forum and used the dictionary to try to solve this. I imagine it is somehow related to the file locations, but I'm not sure how to solve it. I really don't want all my files to have to be in the downloads folder.
Code: Select all
...command uiPopulatePeople put "images/" into theImageFolder...
Code: Select all
put "Documents/LiveCodeProjects/DatagridLesson/images" into theImageFolder
Another question related to this is: " How do I use an imported image rather than a stored image. The forum had a few similar questions. @Klaus suggested using buttons rather than images, but I wondered if there was a way to use the image. Wouldn't there be more overhead using a button image than only an image? I want to use the datagrid with iOS/Android so overhead could be an issue.
Sorry that I haven't posting more. I'm still here, but I've been lost in the LiveCode woods. Now, I'm just trying to learn from lessons and anything else that I can find. I like LiveCode. If I can just learn enough to do something productive I would be happy. My work with arrays is still ongoing.
I've also been reading the forum and trying to see if I could contribute, but most of the questions aren't about anything I know yet.
Have a day filled up with the best of times.