ComboBox with a TTreeView
Posted on 1998-09-11
I need a combo box like the one in the Win95 style Open and Save dialogs, but I need to descide what to put in them. For example, at times I will need it to display the following when dropped down:
(Icon) All Journals
(Icon) General Journal
(Icon) U.S. Cash Disbursements
There will be the one Level 0 item (All Journals), Six level 2 items (the names of each Journal) and up to 3 level 3 items for each level 2 item. The Level 3 items are decided upon as the user continues. EG Edit will only be accessible if they have entered edit mode on a transaction but otherwise, it will not display.
Therefore, I need the code on how to do this or a component that will do this.
COMBO BOX THAT WILL POP DOWN A TTREEVIEW WOULD BE APPROPRIATE.