|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Thu Nov 10, 2005 9:15 pm Post subject: Operating on drawing surface from subroutine |
|
|
Hopefully not trying the patience of the FTN95 Community,
One hopefully quick question about updating a %gr drawing surface
using ClearWin+, viz...
So far I have left all my winio commands in the main program,
as relegating graphic updates to subroutines always opened
up a new graphic window on top of all previous ones. I ended
up with a pile of windows instead of changing the *one* I wanted
to update.
Called from [main] everything works for the animations, but the
code is cumbersome, ponderous and unsightly.
Can someone tell me how I can get a subroutine to update a window
graphic started from [main] or another subroutine?
I hope the above is not a bother.
Best,
Ludwig
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Fri Nov 11, 2005 1:15 am Post subject: Operating on drawing surface from subroutine |
|
|
Ludwig
Are you using %lw to leave the window open? If not then this may be the answer.
An (often better) alternative is to use %sc and to put the drawing into a callback function.
Otherwise, can you post a small program to illustrate what you are doing? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|