Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.getStyle

Retrieves the current value of the specified bit field in the control's style property.

Syntax

protected final boolean getStyle( int flag )

Parameters

flag

The bit field within the style property value that you want to check.

Return Value

Returns true if the bit field specified by the flag parameter is set in the control's style property; otherwise, returns false.

Remarks

This method retrieves values from the control's style property; it does not retrieve information from the windows styles or extended styles associated with the control's window handle.

See Also   setStyle