On 30/11/2005, at 5:00 AM, CV wrote:
Ken, quick question:
The code you posted, where is it located? In a pushbutton? A
menuhandler? The Canvas1 Paint event?
Jack,
The code I posted is located in a menu handler. As you noted, each
picture
is drawn off-screen and then finally drawn on screen with the code
wy.show
wy.Canvas1.Refresh
The on-screen drawing is done in the Canvas Paint(g as Graphics) event,
in which the only code is
g.DrawPicture pct, 10, 10
(I also tried doing it in the Window1 Paint event, but it doesn't make
any
difference. Sorry, I should have mentioned that before.
I know I have much to learn, and I expect to do lots of trial and error.
In this case the frustration is just that the behaviour is different on
the
Mac and Windows platforms and I don't know why. It seems that the
wy.Canvas1.Refresh only refreshes the current front window on the
Mac, but somehow refreshes all open windows on the PC?
Ken
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|