Height.HasMinHeight
property (DataWindow object)
Description
Whether the column in a DataWindow object should maintain its
minimum height, when its Autosize property is enabled. The property is
false by default.
HasMinHeight only applies to columns that have Autosize enabled.
When both Autosize height and HasMinHeight are true, the height value
will be the max value between the auto height value (the calculated
value when the Autosize height is set to true) and the value specified
in the Height property.
Applies to
Column, Computed Field, and Text controls
Syntax
PowerBuilder dot notation:
1 |
dw_control.Object.controlname.Height.HasMinHeight |
Describe and Modify argument:
1 |
"controlname.Height.HasMinHeight { = value }" |
Parameter |
Description |
---|---|
controlname |
The control for which you want to get or set the |
value |
Whether the column should maintain its minimum Values are: No — (default) Do Yes — Use the minimum height (the height |
Usage
In the painter
Can be set only in code, not in the painter.
Examples
1 2 3 4 5 6 7 |
string setting setting = dw1.Object.empname.Height.HasMinHeight dw1.Object.empname.Height.AutoSize = "Yes" dw1.Object.empname.Height.HasMinHeight = "Yes" setting = dw1.Describe("empname.Height.HasMinHeight") dw1.Modify("empname.Height.AutoSize=Yes") dw1.Modify("empname.Height.HasMinHeight=Yes") |
See also