by Silvio » Sat Apr 18, 2009 3:03 pm
thanks Emg
Now run ok
then I made this
DEFINE WINDOW oWnd TITLE "TEST window GENERATION" MDI HSCROLL
For i=1 to Len( aFileArea)
cTitleArea :=GetPvProfString("General", "Title","", aFileArea[i])
nWidthArea := VAL(GetPvProfString("General", "Width","", aFileArea[i]))
nHeightArea := VAL(GetPvProfString("General", "Height","", aFileArea[i]))
GenChild( cTitleArea,nWidthArea,nHeightArea)
NEXT
ACTIVATE WINDOW oWnd MAXIMIZED
function GenChild( cTitle,nWidth,nHeight)
local oWndChild
DEFINE WINDOW oWndChild OF oWnd MDICHILD FROM 0,0 TO nHeight/2.5,180 COLOR "N/W" TITLE cTitle
ACTIVATE WINDOW oWndChild
return nil
the procedure puts the windows one above the other,
and I can not understand where are the windows,
how can I do to put the first window then the second on the order and vertical ?
Best Regards, Saludos
Falconi Silvio