getAlignment Method

See Also            Applies To

Returns a value that determines whether the navigation or option buttons are aligned vertically or horizontally.

Syntax

object.getAlignment()

Parameters

object

A RecordsetNavbar or OptionGroup script object.

Remarks

The method returns the following values.

Value Description
0 Align buttons vertically
1 Align buttons horizontally

To set the value, use the setAlignment method.

Example

nAlign = RecordsetNavbar1.getAlignment();