|
PEresetBOOL PEreset (hObject)
This function is called to reset the object to its default state. The default state is the state immediately after calling PEcreate or dragging the OCX/VCL onto a form.
Also, 3D Scientific Graphs (Pe3do) objects require a call to PEreset as the first line of code in their initialization. This is because we calculate polygon data only once upon the initial initialization, thus rotation does not require data-to-polygon recalculations.
Returns NonZero if the function was successful, otherwise Zero.
Comments It's a very good programming practice to call PEreset between complex states of an object. This will generally clear up problems related to rebuilding a complex chart repeatedly.
.NET developers, see PeFunction.Reset
Ocx|Vcl developers, see the PEactions property.
With Ocx interfacec, you can also call this function as follows... Pego1.PEactions = 20 'calls PEreset
In Delphi, use... PEGraph1.PEactions := gReset; {calls PEreset} |
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |