Archive: .onSelChange Event


.onSelChange Event
Hi All

When using the .onSelChange Event, i would like to retrieve the text or section index number, is this possible.

regards

Carl


i guess you want to know how to get the index/text of the section that changed its selection state and thus called the event?

unfortunately this isnt stored anywhere, so you need to find out yourself, AFAIK :)


Thanks yeah that would be nice i have 68 sections to control so i would like to be able to easily work out which checkbox i clicked it.

Also is there any way to stop a user selecting an item, for example

+ - AlarmWorX
+ -- Patch A
+ -- Patch B
+ -- Patch C

Could we stop the user selecting "AlarmWorX"


Make it read only?

or

in .onSelChange use SectionSetFlags and SectionGetFlags

or

.onMouseOverSection stores the item the mouse is over in $0, maybe you could store it in a variable and check it in .onSelChange (Im not sure what is called first, this might not work)