GUILISTITEM-question (1 Viewer)

waeberd

Portal Pro
August 16, 2004
314
1
Fribourg (CH)
one small dev-question that popped up:

* Is it possible to add an integer to the GUILISTITEM ?

=> background: when I get a MSG_CLICKED, I take the LABEL to identify,
which item in my SQLite-rowset collection has been clicked.
This is not very clean and does not work correctly if the labels are not unique!

The better way would be to store a key-ID into the GUILISTITEM while building the list
and retrieve the correct item in the message handler.

Any hint how to do that? A TAG-Field on the GUILISTITEM would be handy...

Thanks,

Daniel
 

Users who are viewing this thread

Top Bottom