JVCL Help:TJvCustomNavigationPane.OnSplitterPaint

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when the splitter needs to draw itself.


Pascal

 propertyOnSplitterPaint: TNotifyEvent;


Description

Write an OnSplitterPaint event handler to customize the appearance of the splitter. For example, use an OnSplitterPaint event handler to give a splitter the appearance of the splitters that appear in cool bar objects. Use the Canvas property as a drawing surface for painting the splitter. Use the ClientRect property to determine the coordinates of the canvas on which to paint the splitter. When a splitter object receives a WM_PAINT message, it paints its background before generating the OnSplitterPaint event.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page