Archive: How do I retrieve that last checkbox that was checked?


How do I retrieve that last checkbox that was checked?
Hello,

I have a whole set of sections and subsections in my components page. For example,

- SectionGroup: CNCRouter
--- Section Subgroup: Vision
--- ........
--- ........
- SectionGroup: Other kind of Router
- SectionGroup: .......
- ........
- SectionGroup: Drivers and Utilities
--- Section Subgroup: Router Driver
--- Section Subgroup: Vision Driver

Depending on the selection I choose, some other section/subsection will be selected, other will be deselected, and other ignored. For example, if I choose CNCRouter, it will choose CNC Router Driver and Vision Driver. How can I know which one was the last checkbox chosen?

Thanks,
Jaime


...I've no idea why you'd want to know which section was enabled the last... But you can do it by setting some variables in .onSelChange.


Well, my installer has several products from which the user can choose from, and I want to limit the user to only install one product every time that the installer is run.

Knowing the last checked checkbox, it will allow me to make sure that all other sections and subsections are deselected.

MSG, .onSelChange is what I was looking for.

Thanks for the help.