Re: How to repaint a canvas?

Stefano Mancini (mancini@galileo.pi.infn.it)
Fri, 13 Dec 1996 19:51:33 +0100

To subscribers of the xforms list from Stefano Mancini <mancini@galileo.pi.infn.it> :

Petasis Gewrgios wrote:
>
> To subscribers of the xforms list from Petasis Gewrgios <ph1566@rea.edu.physics.uch.gr> :
>
> > Hello,
> >
> > What is the recommended way to repaint a canvas? Do i have to call the expose
> > function or is there another way to do it?
>
> Try using fl_redraw_object( canvas_object ) ...
> (I have never used it for a canvas, but i suppose i works as the canvas is
> a forms object!)
> gp
> To unsubscribe, send the message "unsubscribe" to
> xforms-request@bob.usuf2.usuhs.mil or see
> http://bob.usuf2.usuhs.mil/mailserv/xforms.html

It doesn't work because this instruction redraw only the canvas not
the object that You (by program) put on (such as text, graphs etc...)

bye
SM

----------------------------------------------------------------------
Dott. Stefano Mancini
Institution: University of PISA - Department of Physics
Business Address: Via Vecchia Livernese - 56010 S.Piero a Grado (Pisa)
Business Phone: +39 50 880.344
Business Fax: +39 50 880.350
E_Mail: mancini@galileo.pi.infn.it
----------------------------------------------------------------------
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html