Home » U++ Library support » U++ Widgets - General questions or Mixed problems » can't WithDropChoice's data be accessed?
|
|
Re: can't WithDropChoice's data be accessed? [message #13375 is a reply to message #13284] |
Thu, 03 January 2008 17:11 |
|
tvanriper
Messages: 85 Registered: September 2007 Location: Germantown, MD, USA
|
Member |
|
|
I had a similiar, but slightly different problem.
I only wanted to iterate over the existing entries, so I could present them in another dialog for changes... basically, I wanted a way to manipulate the 'history'.
To that end, follow this:
http://www.ultimatepp.org/forum/index.php?t=msg&th=3028& amp;start=0&
The changes I proposed will not change the entries, but will make it possible to iterate over them in a read-only fashion (thanks to the wonders of the const keyword).
As luzr said, you'd still need to use Clear and recreate the list, if you wanted to make edits... but at least you can see what's actually in the list.
I suspect this behavior is needed, in order to keep certain parts of the state stable (e.g. whether-or-not to display a drop-list at all).
|
|
|
Goto Forum:
Current Time: Fri May 03 00:21:30 CEST 2024
Total time taken to generate the page: 0.08625 seconds
|