Re: How to Restrict Clickability in List

new topic     » goto parent     » topic index » view thread      » older message » newer message

Greg helped with:

> this should work. if an item starting with "Set" is
> selected, it moves to the next item, if it exists,
> or it sets the index to 0
> ~Greg
> 
> -- begin code --
> procedure myList_onChange( integer self, integer

Greg, two questions: 1) why onChange and not onClick? 2) Can I actually prevent
a "Set" item from being clicked? As it is, it highlights as it's clicked on, but
the preferred behavior is that it does not even respond to the click. Okay, 3
questions... 3) When it disregards a click, how do I make it not turn off the
already selected item? This is a multiple-select list, and I think setting the
index to '0' negates that. Oh! I guess I'll get the list of already selected
items first, then test, then restore or whatever... right?! :)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu