This is a fairly common request and a search on the internet should get you a number of useful hits.
To get you started take a look at the links I provide at the bottom of
Designing Nested Controls[
^], those are mostly related to what you want to do.