FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour A window with a metafile
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM

A window with a metafile

Posted: Sun Oct 22, 2006 11:19 PM
I want create a metafile into a window but it not found oDevice and nHorzRes() and nVertRes()


How I can create it on a window ?

this my test

Function test()
Local oWnd,oTest

DEFINE WINDOW oWnd COLOR CLR_BLACK, CLR_HGRAY ;
 VSCROLL HSCROLL

 oTest:=TMetaFile():New( 0,0,0,0,"",;
                  oWnd,CLR_BLACK,CLR_WHITE,oDevice:nHorzRes(),;
                  oDevice:nVertRes() )

ACTIVATE WINDOW oWnd
Best Regards, Saludos



Falconi Silvio

Continue the discussion