Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
TabBase.addOnDrawItem
Assigns a delegate to the drawItem event.
Syntax
public final void addOnDrawItem( DrawItemEventHandler value )
Parameters
value
The DrawItemEventHandler delegate to be notified when the event occurs. The DrawItemEvent contains a Graphics object in which to paint the tab.
Remarks
Passing an event handler as a parameter to this method is equivalent to setting the drawItem event to that method in the Properties window. The drawItem event occurs when an owner-drawn tab needs to be redrawn. For a tab to be owner-drawn, the drawMode property must be set to TabDrawMode.OWNERDRAWFIXED.
See Also removeOnDrawItem