I am trying to find a better way to use a grid with an Array.
So far I came up with this, which saves tons of less code.
Only thing I am stuck is with, on how to save the status and load the status..
Any thoughts?
Thank you
Printable View
I am trying to find a better way to use a grid with an Array.
So far I came up with this, which saves tons of less code.
Only thing I am stuck is with, on how to save the status and load the status..
Any thoughts?
Thank you
ok, I got it to load as well, but HOW can I get the status from 1 cell ? ie. Counter = Cellstatus from cell 24 ???
Cause once I save it, and load it I am not getting the updated statuses.. and it seems like it's not reading them, once it gets saved for a 2nd time.
OR do I need to read the cells differently, since with the old grid I had from left to right cell 1,2,3,4,5 etc and now it seems to be backwards when I assign an ID to it
http://mfa.aquadasoft.com/upload/139...e_of_grid2.mfa
I am unsure if this is what you were aiming for. I added a ForEach loop which seems to fix things, but I may have had the wrong goal in mind.
Thanks :)
I'll look at it once I get home tonight.
I was debating a loop, but it showed when I was loading, so I ignored it... guess I shouldn't have done that after all.
Since I can't see the loop atm, how do I get the status from 1 cell? since they are all duplicates now
how do I get the status from (ie.) cell 24 or cell 12 without clicking on it ?
ok, I moved a step backward, since I got lost with the code, so I went to basic logic for now lol, so I can see what I am missing here..
Now you can click on a cell and change the color...
But NOW I want to change that..
I want to click on a colored cell on the right, and once that is selected, then I want to use the click for that cell color..
I got this to work just fine when I was doing it the old way with overlays/masks etc.
but now with this, I can't get it to work.
What do I need to change to make it work, since when I change the click event, it changes all the cells
Thanks :)
Thanks :)