


ActiveX controls have properties and styles just like ACUCOBOL-GT controls. In addition, ActiveX controls provide functions called "methods." To set a property or style or to invoke (call) a method, you use the MODIFY verb. Use INQUIRE to get the value of a property or to get the style flags.
ActiveX methods can take any number of parameters or no parameters. They can also take optional parameters (i.e., parameters that can be omitted). You specify the parameters in COBOL by enclosing them in parentheses. If there are no parameters, include empty parentheses (). The optional parameters are always last. For example, if a method has three parameters, one of which is optional, the first two will be required. The last one is optional and therefore may be omitted. For more information on ActiveX methods, refer to section 4.5 of Book 2,"User Interface Progamming Guide."