TGraph

Post Reply
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

TGraph

Post by TimStone »

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
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

Tim,

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

Code: Select all

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