CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How can I use property UserData from TIWCGPanelListItem

by jorgo » 31 Mar 2017 14:37

Hallo,

I used property "Tag" to save an Index from a recordset.

Now I want to save more recordset data.
I tried to use property "UserData" for an own record.
It's a little bit tricky.

1.) Can I use it for own data?
2.) How can I work with UserData?

Kind regards
jorgo
 
Posts: 108
Joined: 13 Jul 2016 15:57

by Alexander Bulei » 31 Mar 2017 14:54

Hi,

1.) Can I use it for own data?


Yes

2.) How can I work with UserData?


delphi code
UserData: Pointer;


Example of usage:

viewtopic.php?p=3340#p3347

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to CGPanelList

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.