hiSetFieldMinSize
hiSetFieldMinSize(g_formRegionOrLayouts_fieldName[?widgetWidthx_widgetWidth] [?widgetHeightx_widgetHeight] [?promptWidthx_promptWidth] ) =>t/nil
Description
Sets the minimum width and height for the widget portion of a field.
Arguments
|
The minimum prompt width, if the prompt is towards the side of the field. Else, the minimum prompt height if the prompt is above the field. |
|
Value Returned
|
True, if the form is instantiated and all the specified sizes are valid. |
|
|
Nil, if the form is not instantiated or any of the specified sizes are invalid. |
Examples
The string field, MyStringField, exists in form, MyForm. The minimum prompt width is set to 100 and the minimum field width is set to 300.
hiSetFieldMinSize( MyForm 'MyStringField ?widgetWidth 300 ?promptWidth 100 )
Related Topics
Return to top