FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TGraph
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
TGraph
Posted: Thu Sep 13, 2007 10:51 PM

I wanted to experiment including a graph in one of my dialogs ( FWH/xHarbour ). I thought I would try with the sample code, but I also wanted to use REDEFINE GRAPH instead of @ x, Y DEFINE GRAPH.

So, that means I need to link to a resource in my .rc file which is no problem, but what type of resource should I put in there ? I know for displaying a bitmap I need to use a button resource, but what about a graph ? I can't find a sample anywhere ?

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
TGraph
Posted: Fri Sep 14, 2007 07:55 AM
Tim,

use a custom control, the classname has to be "TGraph"

CONTROL "", 120, "TGraph", 0x00000000, 3, 15, 260, 135
kind regards

Stefan

Continue the discussion