Top Property

image\btn_example.gif

image\validfor_amv.gif

Applies To Objects

Area, Session

Description

For the Area object, the Top property returns or sets the row where the area begins. For the Session object, the Top property returns or sets the vertical position of the session, in pixels. Read-write.

Syntax

object.Top

Element

Description

object

The Area or Session object.

Comments

Depending on the object, the Top property has different meanings.

Object

Meaning

Area

The row where the area starts, expressed as an integer.

Session

The number of pixels between the top edge of the session window and the top of the screen.

 

For the Area object, you can set the Top property to shrink or expand the object. For example, if you initially defined an area with a top row of two, you can set the top row to four, thereby shrinking the size of the area. You can also adjust the size of the Area object with the Bottom, Left, and Right properties.

For the Session object, you can set the Top property to change a session window's vertical position on the screen. To change a session window's horizontal position, set the Left property.