guides:o4w:o4w_api:o4walignstyle

O4WAlignStyle routine

Creates a "style" for element alignment.

alignStyle = O4WAlignStyle( styleName, horizAlign, vertAlign )

The function has the following parameters:

ParameterDescription
styleNameIf syleName is specified, defines the style by the stylename for use with one or more elements and input controls.
horizAlignIf <horizAlign> specified, the element is horizontally aligned according to its value (this can be any valid CSS "text-align" value, and O4W recognizes 0, 1, and 2 as "shortcuts" for left, center, and right).
vertAlignIf <vertAlign> specified, the element is vertically aligned according to its value (this can be any valid CSS "vertical-align" value, and O4W recognizes 0, 1, and 2 as "shortcuts" for top, middle, and bottom).

the style information (to use immediately with a display element or input control)

 
 
 
  • guides/o4w/o4w_api/o4walignstyle.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1