02-08-2007 05:57 AM
02-08-2007 06:31 AM
Use a property node of List box with its attributes set to disabled items.
The items at those indices ( specified by disabled items array) shall be disabled on your listbox control
look at attached pic
02-11-2007 02:54 AM
Yes. I have disabled them just like in your picture there, but the last selection with mouse still holds the value rather than the selection i made programatically!
@devchander wrote:
Use a property node of List box with its attributes set to disabled items.
The items at those indices ( specified by disabled items array) shall be disabled on your listbox control
look at attached pic
02-14-2007 02:41 AM
02-14-2007 08:20 AM
I have to second Dev's request for code that illustrates this behaviour. We do much better at answering Q's when we have code to look at.
We will jump on a bug like a prey mantis once we can see it.
Ben
02-21-2007 07:09 AM - edited 02-21-2007 07:09 AM
Message Edited by Nallez on 02-21-2007 07:11 AM
02-21-2007 07:19 AM - edited 02-21-2007 07:19 AM
Message Edited by Nallez on 02-21-2007 07:20 AM
02-22-2007 01:19 AM
02-22-2007 01:50 AM
Hi Nallez
One question - why don't you use two different listboxes? In my opinion it is not so userfriendly to enable and disable values of a listbox according to a selection in this listbox.
If you use two listboxes, you can fill the second one with values depending on the selection made in the first one. After performing this selection, you could disable the first listbox, fill the second one and enable it.
02-22-2007 04:10 AM
Because the customer wants it that way.
@becktho wrote:
Hi Nallez
One question - why don't you use two different listboxes? In my opinion it is not so userfriendly to enable and disable values of a listbox according to a selection in this listbox.
If you use two listboxes, you can fill the second one with values depending on the selection made in the first one. After performing this selection, you could disable the first listbox, fill the second one and enable it.