I read/write the strings for the listbox from/to a file. As I read them I look at the first character of the string. If it is chr(255) I take it as being checked
and then take the string starting at the second character. I do the reverse
when writing out the file. Maybe not an elegant solution but it gets the
job done and keeps the data together in one place.


On 4/14/2011 4:54 PM, SoftTech wrote:
Greetings,

I need to store the checked values for a TCheckListBox into a database field and retrieve it.

Anyone have tips on how to do it?

Thanks,
Mike
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to