Microsoft SDK for Java

DhElement.addOnClick

Assigns a delegate to the click event.

Syntax

final public void addOnClick ( EventHandler h )

Parameters

h

The EventHandler delegate to be notified when the event occurs. 

Remarks

Not all elements support all events exposed in DhElement.  

See Also   removeOnClick

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