In the ‘book like’ app i’m coding, there is one form that is the Table of Contents (TOC). Using a jQuery Collapsible control, all of the ‘pages’ (= Forms) titles are listed. Next to each title is a very small jQuery Button that can be touched to change it’s color in the button’s property (to be marked as a ‘favorite’) to green. I was looking for this green button (vs. white) to be available the next time the app is opened.
But that doesn’t happen, in that when reopened, the ‘favorite buttons’ are all back to white, even though the Background Color of the button was set to Green in the previous run of the app.
I think the way to do this is to set up an array, and when the button is clicked to green (a “favorite”) or clicked again back to white (not a “favorite”), the array entry for that button is updated… then when the app is reopened, all the ‘favorite’ buttons are updated (in an update routine in Sub Main()} to green or white depending upon the array content.