TGraph

TGraph

Postby TimStone » 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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby StefanHaupt » Fri Sep 14, 2007 7:55 am

Tim,

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

Code: Select all  Expand view  RUN
CONTROL "", 120, "TGraph", 0x00000000, 3, 15, 260, 135
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 92 guests