Silvio,
it is possible to paint a dialog on dialog to display something selected from the tree
the SPLITTER is replaced with a sub-dialog connected to the main-dialog.
You tested < testtre4.prg > as a solution. I changed window with dialog that was Your question.
I found testtre4.prg but it is on Window I wish on Dialog
You have to call the buildtree-function on maindialog INIT using sample < testtre4.prg >
replace
DEFINE WINDOW oWnd FROM 3, 6 TO 20, 70 ;
TITLE "Welcome to " + FWVERSION COLOR "N/W" with
DEFINE DIALOG oDlgMain FROM 10, 10 TO 360, 450 PIXEL TRUEPIXEL ;
FONT oFont TITLE "MULTIPLE DIALOGS with tree"
..
..
ACTIVATE DIALOG oDlgMain CENTERED ;
ON INIT ( BUILDTREE( oTree ), ;
...
...FUNCTION BUILDTREE( oTree )
oItem1 := oTree:Add( "Page - 1", 1 )
oItem1:Cargo = {|| CleanSlate( oDlgChild )}
oItem1:Add( "Sub 1", 1 ):Cargo := {|| SHOW_CHILD1() }
oTree:Add( "Page - 2", 1 ):Cargo := {|| SHOW_CHILD2() }
RETURN NIL everything is possible : data display on different locations
regards
Uwe