phoConstraints - cCJGridColumn
Provides a proxy object for the cCJGridRecordItemConstraints class or this column
Type: Property
Access: Read/Write
Data Type: Handle
Parameters: None
Syntax
Property Handle phoConstraints
| Access Type | Syntax |
|---|---|
| Read Access: | Get phoConstraints to HandleVariable |
| Write Access: | Set phoConstraints to HandleVariable/Value |
Description
When the grid is activated, all COM column objects (cCJGridColumn) are created and bound to the cCJGridColumn object. In addition, a cCJGridRecordItemConstraints object is created and bound to the grid. This COM control can be accessed using phoConstraints.
The constraints class contains the constraints for a column (i.e., a set of valid values), which are normally used for combo controls. You should rarely need to use this object because other combo interfaces such as ComboAddItem, ComboData, ComboDeleteData and ComboFindItem) provide access and maintain the constrained data. These methods all use phoConstraints.
Notes
- This can only be used when the grid control is active.
- The proxy object is statically bound to the COM object so you do not need to 'set pvComObject' before using it.
- You should never set this property.