sec : U Re: De-sensitizing individual list elements [message #32872] |
Sun, 17 November 2002 16:07  |
Andrew Cool
Messages: 219 Registered: January 1996
|
Senior Member |
|
|
JD Smith wrote:
>
> Anyone ever had any luck de-sensitizing individual elements of a list
> widget? Or changing their color?
>
> JD
Hi JD,
I don't hold out much hope for you on this one.
I have a utility that lists all the currently managed widgets in a
hierachial fashion, and using a very simple widget consisting of
only base, list widget and a stop button, my utility shows only
3 widget ids. Nothing at all to suggest that individual lines within
the value of the list widget can be "got at."
Neither does the v5.6 Help offer much.
I presume you want to de-sensitise an element that's already been
selected?
Andrew
|
|
|
Re: sec : U Re: De-sensitizing individual list elements [message #33039 is a reply to message #32872] |
Tue, 26 November 2002 11:52  |
Dave Greenwood
Messages: 33 Registered: October 2000
|
Member |
|
|
In a previous article, JD Smith <jdsmith@as.arizona.edu> wrote:
> On Sun, 17 Nov 2002 17:49:22 -0700, David Fanning wrote:
>
>> Andrew Cool (andrew.cool@dsto.defence.gov.au) writes:
>>
>>> Anyone ever had any luck de-sensitizing individual elements of a list
>>> widget? Or changing their color?
>>
>> I agree with Andrew, I think this is hopeless.
>>
>> We need someone to write us a "list editor" for this kind of thing. As
>> you select items they are transferred to the "selected" side in another
>> list. You can move items back and forth, delete items, add items, etc.
>>
>> Do we have a volunteer? I can't guarantee riches, but fame is certain.
>>
>>
> I really just wanted some way to indicate that certain items in a list
> were "disabled". Graying them out would be great. This doesn't seem to
> be an option. About all I can do is select them or deselect them. What I
> ended up with works OK. I replace all spaces in the list text for that
> item with "-". This is a reasonable visual cue.
>
> And the program does indeed allow you to sort, delete, rename, etc. the
> list items. In my experience, if you just wait David out a day or two,
> he'll be unable to restrain himself and will write it himself.
Actually, Ben Tupper wrote something of a list editor a while back. Do
a google search for "twolist". It uses 2 lists to select and deselect,
although it just copies from one list to the other. I used his as a
basis for one I did which actually moves items from one list to the
other.
Dave
--------------
Dave Greenwood Email: Greenwoodde@ORNL.GOV
Oak Ridge National Lab %STD-W-DISCLAIMER, I only speak for myself
|
|
|