Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to redraw preview after context menu is closed
Message
From
03/06/2006 14:33:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
How to redraw preview after context menu is closed
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01126936
Message ID:
01126936
Views:
73
I added mouse right-click menu to Doug Hennig Highlightable Report Preview described in FoxTalk May 2005.

If context menu is closed without selecting any command, highlighted rectangles which are behind the context menu in form are not re-drawn.
This occurs if context menu is closed by esc key or by mouse click.

Keypress and mousedown events does not occur in this case.
There is no event which occurs when context menu is closed so I cannot re-draw the form using SFPReview DrawPage() method.

How to re-draw preview window correctly after context menu is closed ?
Andrus
Reply
Map
View

Click here to load this message in the networking platform