Hello,
I have a little problem, in this code:
If I change "WINDOW" with "DIALOG" the treeView is empty... why?
Many thanks
Antonino Perricone
I have a little problem, in this code:
#include "FiveWin.ch"
//----------------------------------------------------------------------------//
function Main()
local oWnd, oTree, oItem1, oItem2
DEFINE WINDOW oWnd FROM 3, 6 TO 20, 70 ;
TITLE "Welcome to " + FWVERSION COLOR "N/W"
oTree := TTreeView():New( 2, 0, oWnd )
oItem1 := oTree:Add( "Page - 1", 1 )
oItem1:Add( "xBase & OOPS", 1 )
oTree:Add( "Page - 2", 1 )
ACTIVATE WINDOW oWnd ;
ON INIT ( oTree:refresh(.t.) ) // required so that objects around splitter paint correctly on init
return nilIf I change "WINDOW" with "DIALOG" the treeView is empty... why?
Many thanks
Antonino Perricone