Horizontal Alignment (Halign)

This property determines how the data (text or image) is aligned in the widget, entity, area frame, or window.

Halign=Left | Center | Right

Value

Description

(default)

Data is positioned according to the .ini file. If no entry is specified, the system defaults are used: Center for Pictures and Command buttons or Left for Hyperlinks.

Left

Data is left-aligned.

Center

Data is positioned in the center of the widget, entity, area frame, or window.

Right

Data is right-aligned.

Command Button

For command buttons, this property only works if the Representation property is set to Uniface.

Setting in ProcScript

$fieldproperties(FLD1) = "halign=center;valign=top"

Related Topics