window class : Top(int) setter

Description

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

Syntax

instance.Top = value;

Assigned value

ClassDescription
intThe position of the window's top edge

Return value

None.

Sample code

1:

window w = new window();

2:

w.Top = 0;

Notes

Please specify in device-independent pixel (DIP).

Links for reference

None.

Copyright © Cooker All rights reserved.