Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pepperwhite map redraw issue
Message
 
 
To
07/06/2002 10:02:21
Jim Davis
Prospect Information Network
Chicago, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00665733
Message ID:
00665935
Views:
18
Well since it's an event it's really only a notification that the Paint occurred. Calling events really never does cause the underlying object to do the event, it only causes your added code to the method to execute.

What are the other methods available?

Have you tried to use a MOUSE command over the control to trigger the behavior? I didn't suggest this last night because I'm not sure MOUSE will cause the event to occur inside an ActiveX window. You might be able to use an API call though.

>Thanks for the idea. Explicitly calling the Refresh method doesn't do anything. The control has an "AfterPaint" event, which does get fired (in fact, the map is redrawn, it just doesn't use the entire new area).
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform