COLWIDTH property (PropertyGrid)
Description
Property Value
The COLWIDTH property is an integer greater than or equal to 0.
• When set to 0 the Property Grid control sizes the column widths automatically. This is based on a percentage algorithm which takes into account where the user has dragged the column divider to (this defaults to 50% of the total width of the control).
• When set to a value greater than 0 the property name column width is fixed at that width (although the user can still drag it to a new position).
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | Yes | No |
Remarks
N/A
Example
// Set the COLWIDTH property to 100 pixels Call Set_Property_Only( @Window : ".PRG_MAIN", "COLWIDTH", 100 )
See Also
N/A