[archived content]

ToolTip.setToolTip method

public void setToolTip(Control ctrl, char[] text)

Sets tool tip text associated with the specified control.

ToolTip tt = new ToolTip();
tt.setToolTip(mainForm, "This is the ToolTip");

Implementation detail: note that setting tool tip text currently causes the control handle to be created immediately, which may also cause the other controls in the hierarchy (parent, children) to have their handles created as well. This implementation detail can (and should) change.

Page last modified on July 04, 2008, at 01:44 PM