|
OCX Charting File Names
ProEssentials includes 5 ActiveX interfaces: Graph, Scientific Graph, 3D Scientific Graph, Pie Chart, and Polar Chart controls.
|
ProEssentials Pro
"PEGRP32E.DLL"
|
ProEssentials Standard
"PEGRPSE.DLL" |
ProEssentials Lite
"PEGRPLE.DLL" |
|
|
"PEGO32E.OCX" |
"PEGOSE.OCX" |
"PEGOLE.OCX" |
Graph
|
|
"PESGO32E.OCX" |
"PESGOSE.OCX" |
"PESGOLE.OCX" |
Scientific
Graph |
|
"PE3DO32E.OCX" |
"PE3DOSE.OCX" |
"PE3DOLE.OCX" |
3D
Scientific Graph |
|
"PEPCO32E.OCX" |
"PEPCOSE.OCX" |
"PEPCOLE.OCX" |
Pie
Chart |
|
"PEPSO32E.OCX" |
"PEPSOSE.OCX" |
"PEPSOLE.OCX" |
Polar
/ Smith / Rose |
Note that the OCX file names (and DLL filenames) have changed from version
3, 4, 5 and version 6. The class-ids have changed also. This means you can have
a v3, v4, v5, v6 and v7 ProEssentials
based application on the same system with no worry of conflict.
We mention the DLL file names above because the ActiveX interfaces derive
their core charting functionality from the ProEssentials' DLL. Anytime
you distribute the ActiveX Charting interfaces, you will need to include the DLL.
More on
this later when we discuss deployment.
Program and Class IDs
|
ProEssentials
Pro |
ProEssentials Standard |
ProEssentials Lite |
|
|
PEGOE.Pegoectrl.1
"clsid:53BCC7FC-F5DD-4BAA-80A1-D5DA20B775CC" |
PEGOESTD.PegoeStdCtrl.1
"clsid:991AB07A-FDAB-486D-B162-0AD60CC8F0BE" |
"PEGOELITE.PegoeLiteCtrl.1
"clsid:23000DAB-6270-41EB-82BB-1826C46016FD" |
Graph |
|
PESGOE.Pesgoectrl.1
"clsid:95220EDA-9F13-4E37-B369-D195E37BA3CC" |
PESGOESTD.PesgoeStdCtrl.1
"clsid:7566D9CD-E94D-4397-86FC-4095AF288DEF" |
PESGOELITE.PesgoeLiteCtrl.1
"clsid:67970383-E46C-4D46-9F35-C18230B5406D" |
Scientific Graph
|
|
PE3DOE.Pe3doectrl.1
"clsid:0BA27D5F-B8F7-4089-9172-9D14F215FECE" |
PE3DOESTD.Pe3doeStdCtrl.1
"clsid:62959A66-3806-4E73-963A-0A4277C2DFA2" |
PE3DOELITE.Pe3doeLiteCtrl.1
"clsid:76B35552-FE4D-46D9-82DA-75198424898A" |
3D Scientific Graph |
|
PEPCOE.Pepcoectrl.1
"clsid:73F78E9F-E12A-4B94-B4B8-7EFC7C4AFA03" |
PEPCOESTD.PepcoeStdCtrl.1
"clsid:AF8F91A9-8044-46A6-82D7-B9AB82C7A53B" |
PEPCOELITE.PepcoeLiteCtrl.1
"clsid:5900C5CB-2EB0-4558-9DE1-7F29BE8BEB57" |
Pie |
|
PEPSOE.Pepsoectrl.1
"clsid:9562A28F-09E3-4FE5-898B-B954911AF374" |
PEPSOESTD.PepsoeStdCtrl.1
"clsid:ECF5FFDA-261E-48C9-BF5B-71E59345BADB" |
PEPSOELITE.PepsoeLiteCtrl.1
"clsid:8C851ADC-57F0-4D85-97BF-F1F38BF845B1" |
Polar |
If you're wondering what a [Program
ID] and [Class ID] are:
The [Program ID] is used within ASP or Visual Basic in conjunction with
the CreateObject function call.
Essentially
its programmatic name. [The
Class ID] is a similar naming convention used within HTML. The following
HTML Object tag will create an instance of a control within a web page.
|
<OBJECT
CLASSID="clsid:53BCC7FC-F5DD-4BAA-80A1-D5DA20B775CC"
ID=Pego1
HEIGHT=200
WIDTH=400>
</OBJECT> |
ActiveX Charting Model
The ActiveX Charting interfaces have a simple object model that closely resembles
our DLL interface. Within
the property reference material, at the top of each property topic, you'll
see a table with various property attributes. For
example, the property FontSize has such an entry.
|
Scope |
All ProEssentials Objects. |
|
Type |
Int32 |
|
Default |
PEFS_MEDIUM |
|
.NET |
PeFont.FontSize |
|
Ocx|Vcl |
FontSize |
|
DLL |
PEP_nFONTSIZE |
If developing with either OCX or VCL interfaces, you'll refer to this
property via the OCX|VCL row heading.
For a control named Pego1, to programmatically control the FontSize
property within code, you'll write...
|
Pego1.Fontsize = PEFS_LARGE |
Don't use property windows!
We recommend that you set only a few properties (if any) in the property
window/object browser. This has many advantages: 1) If you have problems,
you can email/fax us your code and we have a record of what properties
you are setting; 2) If you go back to your code a couple months later,
or someone else inherits your project, they have a documented list of
properties you have set; 3) If you ever port your code to another IDE,
its very easy to just reformat your current code; 4) In the case where
a VB or Delphi form-file gets corrupted (this does happen occasionally)
you won't lose your property adjustments; and 5) You will avoid potentially
hard-to-find bugs due to setting a property both in the property window
and in code.
The bottom line is that property windows may seem to be faster, yet,
in the long run, coding your property settings will definitely result
in the fastest, safest, and most maintainable implementation.
|