Lazarus

Programming => Operating Systems => Android => Topic started by: juank1971 on October 20, 2020, 11:54:02 am

Title: control a sqlite table from the items of a jlistview
Post by: juank1971 on October 20, 2020, 11:54:02 am
it is possible to control a sqlite table from the items of a jlistview. I need to know if there is any property of the jlistview items that can save for example the id of the row in the database table,

Exist the tag property in the jlistview items? Or another propetti of the items of the listview for save any information of the row table
Title: Re: control a sqlite table from the items of a jlistview
Post by: jmpessoa on October 20, 2020, 09:56:08 pm

Quote
Exist the tag property in the jlistview items?

Yes!

 jListView1.SetItemTagString(............);
 jListView1.GetItemTagString(.........);
 
And there is  a demo  "AppDBGridViewDemo1" that use  "jDBListView" component...
Title: Re: control a sqlite table from the items of a jlistview
Post by: juank1971 on October 20, 2020, 11:37:53 pm
thanks
TinyPortal © 2005-2018