Home Cooker Classes Others Rice CookerGX
Classes  >  window  >  Top(int)
window class : Top(int) setter

Description

Sets the position of the window's top edge on the desktop screen.

Syntax

windowInstance.Top = top

Arguments

ClassNameDescription
inttopThe position of the window's top edge.

Return value

None

Sample code

//anyWindow is a instance of window type.

anyWindow.Top = 0;

Notes

It's a wrapper of the System.Windows.Forms.Form.Top.

The set value is in pixels.

Links for reference

Copyright © Rice All rights reserved.