skip to content
Clarion Community Help
User Tools
Log In
Site Tools
Search
Tools
Show page
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
rulescollection_class_methods.htm
| **Navigation:** [[abc library reference.htm|ABC Library Reference]] > RuleManager > RulesCollection Class Methods >====== RulesCollection Class Methods ====== | [[rulescollection class properties.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[addcontrol add managed control .htm|{{btn_next_n.gif|Next page}}]] | | || **Access Methods** Although all of the properties of the RulesCollection class are PRIVATE, public access to these properties is provided by a set of methods: **GetDescription() **returns a STRING containing the Description property **GetErrorImage() **returns a STRING containing the ErrorImage property **GetChangeControls() **returns a BYTE containing the ChangeControlsStatus property **SetDescription( **string** **) sets the Description property **SetErrorImage( **string** ) **sets the ErrorImage property **SetChangeControls( **status** ) **sets the ChangeControlsStatus property {{blk2blue.jpg|blk2blue.jpg}} | **Set**xxx**/Get**xxx | Sets or retrieves a property | | //String// | A string constant, variable, EQUATE, or expression that contains a value appropriate to the property being set. | | //status// | A Boolean constant, variable, EQUATE, or expression that contains either True or False. | **Example:** ** Customer.SetErrorImage('~BRuleNo.ico')** ** Customer.SetDescription('Customer File Rules')** ** Customer.AddRule('ShortNameRequired','Short name is required', |** ** 'cus:ShortName <;<;> '''' OR CheckShortName()' |** ** ,?cus:ShortName,3) **
rulescollection_class_methods.htm.txt
· Last modified: 2021/04/15 15:57 by
127.0.0.1
Page Tools
Show page
Old revisions
Backlinks
Back to top