Board index » delphi » Setting of TCanvas.ClipRect

Setting of TCanvas.ClipRect

How can I assign TCanvas.ClipRect in my TCustomControl descendant? The
compiler says it's a read-only property. But the help says something about
assigning it so it must be possible...

Helge.

 

Re:Setting of TCanvas.ClipRect


You create a region and use the SelectClipRgn api to select the region as
the current clipping region for the canvas.

Finn Tolderlund

"Helge Jung" <he...@eco-logic-software.de> skrev i en meddelelse
news:3b7e8f07_1@dnews...

Quote
> How can I assign TCanvas.ClipRect in my TCustomControl descendant? The
> compiler says it's a read-only property. But the help says something about
> assigning it so it must be possible...

Other Threads