Adding a new row to DBTreeList at runtime

101 views Asked by At

I'm a newbie to Delphi and coding itself and have an issue which I can't solve.

I have to create a Treelist based on values from a Database which I did in the design field, here is an example on how it looks: . Now it needs to be able to insert a new row after giving it a description (which is labeled as 'bez') while running.

The most obvious way to do that in my mind is to right click on a parent field and be able to add a new child field, how can I achieve that?

Also at the end of a parent tree I need it to be able to open a script/file, is that possible too?

0

There are 0 answers