Re: Win32Lib; Control; Dropdown; Index and data?
- Posted by ZNorQ <znorq at holhaug.com> Mar 23, 2007
- 474 views
Derek Parnell wrote: > > ZNorQ wrote: > > > Can I use the UserProperty code for ListView too, meaning for each > > individual field in a list of items in a ListView? > > I'm not sure if I understand the question. > > A User Property is associated with a control's ID. You can define any number > of properties for any of the controls. > > So if you have a ListView called 'LV', for example, you can define a property > for each column (field?) like this ... > > defineUserProperty(LV, "Column 1", 0) > defineUserProperty(LV, "Column 2", 0) > defineUserProperty(LV, "Column 3", 0) > . . . > defineUserProperty(LV, "Column N", 0) > > But I'm not sure why you would need to do that. What did you have in mind? > > -- > Derek Parnell > Melbourne, Australia > Skype name: derek.j.parnell Hei Derek, Just for get about it. After a re-cap, I don't see a specific need for this at this time. I was thinking of editing items directly in a ListView, but as far as I know this isn't possible anyway. As for the userproperties on a combo, that has become quite helpful. Thanks for the help. Regards Kenneth / ZNorQ.