I have tree which contains all the mainMenus , their menusItems and their forms :

all of these informations are stocked into table.

Now I want that when I click on a form eg "custTable" all the buttons of this form will be displayed in a second tree. I started adding all the forms and their buttons to another table.

Have you any idea  :)