Recent

Author Topic: Objects and stringlists  (Read 1181 times)

howardpc

  • Hero Member
  • *****
  • Posts: 3487
Re: Objects and stringlists
« Reply #15 on: November 22, 2019, 08:31:04 pm »
You may be interested in the attached example which shows one way  to save and reload object data associated with a standard listbox.
As winni wrote, for a single user app that does not use a 'proper' database a string makes a good poor man's data container.
The idea is to use a string list  to store 'enhanced' strings customised to suit the data required.
The attached project does not implement a timing mechanism to poll the data list to alert you to the moment an alarm should sound, in order to keep the code relatively simple and focus on data storage and retrieval. But it does show one way to  store and retrieve listbox data for relatively complex objects with several data fields.

BLL

  • Sr. Member
  • ****
  • Posts: 276
Re: Objects and stringlists
« Reply #16 on: November 23, 2019, 12:57:56 pm »
Thank you very much - I shall study it.

Brian

 

TinyPortal © 2005-2018