Using the Control-Name property of the control container
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
This example show how you might access the component handle
to the CSSpin control using the Control-Name property:
|
The bolded code is the code you might add to appropriate sections
of your application; the rest is a simplified version of code the
AppBuilder might generate. Note how the AppBuilder uses the control-frame
name (CtrlFrame) to generate handle variable names
and to locate the control instance in the csspinapp.wrx file.
The actual control name (CSSpin) is the OCX name
specified for the control at design time (in this case, the CSSpin default).