Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEreset Method

Scope All ProEssentials Interfaces

 

PEreset() As Boolean

 

The PEreset method is used to revert the object to its default state. The default state is how the object looks immediately after placing on a new window or form.

 

Also, 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.

 

Comments

It's a 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.

 

You can also call this function as follows...

Pego1.PEactions = REVERT_TO_DEFAULTS

 

See Also: OCX Methods

 

This method is a wrapper to the PEreset DLL call.