How to Force a Full Redraw?

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
DavidRM
Posts: 91
Joined: Mon Aug 29, 2005 5:18 pm
Location: Tulsa, OK
Contact:

How to Force a Full Redraw?

Post by DavidRM »

I set certain colors based on the application's active skin. This change can occur during runtime at the user's whim.

How do I force the SRVE (and the horz/vert toolbars and the background) to redraw to show the new colors?

What I've tried:
1. SRVE.Repaint/Refresh/Update/Invalidate.
2. SRVE.Format
3. MenuHorz/MenuVert.Toolbar.Repaint

What've I got to do get a simple full repaint?

Thanks.

-David
proxy3d
ScaleRichView Developer
Posts: 307
Joined: Mon Aug 07, 2006 9:37 am

Post by proxy3d »

SRVE.Update - To update all image SRV (without document formatting).
SRVE.Format - to reformat the document and completely to update image.
SRV.MenuToolBarH/MenuToolBarV.Paint - to draw again TSRVToolBar.
Post Reply