<HTML>
<HEAD>
<TITLE>ReadMe</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="5" CELLPADDING="5" BGCOLOR="#660000">
<TR>
<TD>
<DIV ALIGN="CENTER"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="6" COLOR="#FFFFFF"><B>TSimpleGraph
v2.61</B></FONT></DIV>
</TD>
</TR>
</TABLE>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Copyright ©
<A HREF="mailto:kambiz@delphiarea.com">Kambiz R. Khojasteh</A>. All rights reserved.<BR>
Get future component updates from <A HREF="http://www.delphiarea.com">http://www.delphiarea.com</A>.<BR>
</FONT></P>
<TABLE BORDER="1" CELLSPACING="2" CELLPADDING="5" BORDERCOLOR="#FFFFFF" ALIGN="LEFT">
<TR BGCOLOR="#333333" ALIGN="CENTER" VALIGN="MIDDLE">
<TD NOWRAP><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi
4</FONT></B></TD>
<TD NOWRAP><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi
5</FONT></B></TD>
<TD NOWRAP><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi
6</FONT></B></TD>
<TD NOWRAP><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi
7</FONT></B></TD>
<TD NOWRAP><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Delphi 2005 </FONT></B></TD>
</TR>
</TABLE>
<P><BR>
<BR>
</P>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="4"><B><A NAME="DESCRIPTION"></A><BR>
DESCRIPTION</B></FONT></P>
<P>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">TSimpleGraph is
a visual component, which provides a simple user interface for drawing graphs. The control and its graph objects are fully customizable in the way that let you create almost any kind of graphs. </FONT></P>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Currently the control has seven node objects for basic geometric shapes: Triangle, Rhomboid, Rectangle, Round Rectangle, Pentagon, Hexagon, and Ellipse. In addition, by sub classing a class and overriding one or two methods, you can provide your own desired nodes. The line (link) object of the control is very flexible, and can be hook to other objects or connect them together. </FONT></P>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">By the way, the control has also some methods for supporting Delphi's clipboard and printer objects.</FONT></P>
<P></P>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><B><A NAME="INTERFACE"></A><BR>
<FONT SIZE="4">INTERFACE</FONT></B></FONT></P>
<UL>
<LI><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="3">Classes</FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><BR>
<BR>
</FONT></B>
<TABLE WIDTH="90%" BORDER="0" CELLSPACING="0" CELLPADDING="5">
<TR>
<TD WIDTH="6"> </TD>
<TD BGCOLOR="#EEEEEE" WIDTH="825"> <FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"><B><A NAME="TSimpleGraph"></A>TSimpleGraph
= class(TCustomControl)<BR>
</B>TSimpleGraph is a windowed control that provides a canvas for drawing
a graph. It also manages relation between graph objects and the application.</FONT>
<P>
<TABLE WIDTH="94%" BORDER="1" CELLSPACING="0" CELLPADDING="5" BGCOLOR="#FFFFCC" ALIGN="CENTER">
<TR>
<TD BGCOLOR="#660000"><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2" COLOR="#FFFFFF">Key
Properties</FONT></B></TD>
</TR>
<TR>
<TD><STRONG><A NAME="ClipboardFormats"></A><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">ClipboardFormats: TGraphClipboardFormats<BR>
TGraphClipboardFormats = set of (cfNative, cfMetafile, cfBitmap)</FONT></STRONG><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><BR>
Determines which formats should be used for copying graph contents in to the Windows clipboard.</FONT>
<P> </P>
<TABLE WIDTH="90%" BORDER="0" CELLSPACING="5" CELLPADDING="0" ALIGN="CENTER">
<TR VALIGN="TOP">
<TD WIDTH="15%"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>cfNative</B></FONT></TD>
<TD WIDTH="20"><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </FONT></TD>
<TD><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">CF_SIMPLEGRAPH</FONT></TD>
<TD WIDTH="20"><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </FONT></TD>
<TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">Graph copies in to the clipboard as native format. <A HREF="#PasteFromClipboard">PasteFromClipboard</A> only supports this format. </FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD WIDTH="15%"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>cfMetafile</B></FONT></TD>
<TD WIDTH="20"><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </FONT></TD>
<TD><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">CF_ENHMETAFILE</FONT></TD>
<TD WIDTH="20"><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </FONT></TD>
<TD><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">Graph copies in to the clipboard as an enhanced metafile. </FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD WIDTH="15%"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>cfBitmap</B></FONT></TD>
<TD WIDTH="20"><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </FONT></TD>
<TD><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">CF_BITMAP</FONT></TD>
<TD WIDTH="20"><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif"> </FONT></TD>
<TD><FONT SIZE="2" FACE="Verdana, Arial, Helvetica, sans-serif">Graph copies in to the clipboard as a device dependent bitmap. </FONT> </TD>
</TR>
</TABLE>
<P> </P></TD>
</TR>
<TR>
<TD>
<P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B><A NAME="CommandMode"></A>CommandMode:
TGraphCommandMode<BR>
TGraphCommandMode = (cmViewOnly, cmEdit, cmInsertNode, cmLinkNodes)</B></FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><BR>
Determines which kind of commands are available to the user.</FONT>
</P>
<TABLE WIDTH="90%" BORDER="0" CELLSPACING="5" CELLPADDING="0" ALIGN="CENTER">
<TR>
<TD WIDTH="15%" VALIGN="TOP"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>cmViewOnly</B></FONT></TD>
<TD WIDTH="20"> </TD>
<TD><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2">The
user cannot modify placement of the objects.</FONT></TD>
</TR>
<TR>
评论0
最新资源