RulesManager Methods

Top  Previous  Next

Access Methods

Although most of the properties of the RulesCollection class are PRIVATE, public access to these properties is provided by a set of methods:

GetChangeControls() returns a BYTE containing the ChangeControlsStatus property

SetChangeControls( status ) sets the ChangeControlsStatus property

Setxxx/Getxxx

Sets or retrieves a property

status

A Boolean constant, variable, EQUATE, or expression that contains either True or False.

Example:

RulesManager.AddRulesCollection PROCEDURE(RulesCollection pRM)

   CODE

   SELF.Rules.RM &= pRM

   ADD(SELF.Rules)

   SELF.Rules.RM.ChangeControlsStatus = False