Programming with Reflection

image\rwnprg32.gif Top property

 

Syntax

object.Top
object.Top = Value

Data type

Long

 

Description

Returns (first syntax line) or specifies (second syntax line) the location of the top terminal window margin (in number of pixels from the top margin of the screen). Note: The top margin can also be set by using the SetWindowPos method. Both of the following statements set the top window margin to 20:

Session.Top = 20

Session.SetWindowPos 0, 20, 600, 400

Values

The default is 0.

The range of values varies depending on your monitor.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property