Hello

Sudip Bhattacharyya wrote:
> 
> So, I shall create different windows for different forms (like I do with
> my other windows programs!!!)
> 

No. 

The only commands you need to issue at the begining and end would be
minimum:

---Clipper
SAVE SCREEN

---gtwvg
oCrt := WvgCrt():New( , , { -1,-1 }, { 24,79 }, , .t. )
oCrt:lModal := .T.
oCrt:icon := cIconFile
oCrt:create()
oCrt:resizable :=.T.
SETCOLOR(cColor)
CLS
// Needs #include "hbgtinfo.ch"
hb_gtinfo(HB_GTI_WINTITLE,cWindowCaption)

/* Your Clipper Codes goes here */

oCrt:destroy()


Alternatively you can call a function to wrap above lines.

The fundamental difference in pure windows program and GTWVG is
that you need not to change anything except adding few lines and /or 
calling two more functions.

Look at My_Alert() - A replacement to Alert() in :

http://www.nabble.com/file/p23011878/demowvg.prg demowvg.prg 

You may be interested in GetSome() and GetRange() functions added to 
demowvg.prg.

Regards
Pritpal Bedi

-- 
View this message in context: 
http://www.nabble.com/Harbour%27s-Ready-to-Use-Distro-II---HarbourDev_10824_2009-04-09.exe-tp22981932p23011878.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to