Table of Contents

COLWIDTH property (PropertyGrid)

Description

Gets or sets the width of the property name column in the Property Grid control.

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

DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoYesNo

Remarks

N/A

Example

 
// Set the COLWIDTH property to 100 pixels

   Call Set_Property_Only( @Window : ".PRG_MAIN", 

                           "COLWIDTH",            

                           100 )
 
 
 

See Also

N/A