Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.243 ScalingStyle Property

Description:

Indicates which attributes of the control to change when the containing Form object is resized.

Used in controls:

Animation

CheckBox

ComboBox

CommandButton

Custom

DriveList

Edit

FileList

FolderList

Frame

Graph

GroupBox

Image

Label

ListBox

ListView

MCI

OptionButton

ProgressIndicator

ScrollBar

Shape

Slider

StaticText

Tab

Table

TextBox

Toolbar

Treeview

Values (with constants):

0 - None(POW-SCALING-NONE)

1 - Resize only(POW-SCALING-SIZE)

2 - Reposition only(POW-SCALING-POSITION)

3 - Resize and reposition(POW-SCALING-SIZEPOSITION)

5 - Resize and resize font(POW-SCALING-SIZEFONT)

7 - Resize, reposition and resize font (POW-SCALING-SIZEPOSITIONFONT)

It is only effective when the Scalable property of the containing Form object is set to True.

Note:
(i) You should use true type fonts if you choose to resize the font. If you do not use true type fonts, the control may not be drawn accurately.

(ii) You cannot change the size (Width property) of the TableColumn or Column object if the form size is changed.

Default value:

7 - Resize, reposition and resize font (POW-SCALING-SIZEPOSITIONFONT)

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_I2

Design time access:

Set and reference.

Execution time access:

Reference only.

Backward compatibility attribute:

None.