Microsoft SDK for Java

DhStyleBase.setLocation

Sets the position of the element.

Syntax

public void setLocation( int x, int y )

public void setLocation( Point pt )

Parameters

x

The left coordinate of the position.

y

The top coordinate of the position.

pt

The new location of the element.

See Also   setTopUnit, setLeftUnit, getLocation

© 1999 Microsoft Corporation. All rights reserved. Terms of use.