How I can make it ?
- Code: Select all Expand view
- function Main()
local oBar
DEFINE WINDOW oWnd TITLE "TEST GENERATION" MDI HSCROLL
DEFINE BUTTONBAR oBar 3D SIZE 25, 25 OF oWnd
DEFINE BUTTON OF oBar ACTION GenChild()
ACTIVATE WINDOW oWnd MAXIMIZED
return nil
function GenChild()
local oWndChild, oBar, oBmp
DEFINE WINDOW oWndChild OF oWnd MDICHILD FROM 0,0 TO 20,200 COLOR "N/W"
oWndChild:nstyle:=nOR( WS_CAPTION,4 )
ACTIVATE WINDOW oWndChild
return nil