Control.getForeground

Returns the foreground color that the receiver will use to draw.

@return the receiver's foreground color

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

class Control
getForeground
(
)

Meta