Under windowing systems, you must be prepared to
redraw what you drew when the window is resized
or obscured. For xforms objects, eveytime a form
is resized, they get redrawn.
What this means is that you'll either have to
make what you want to draw into an xforms object
or respond to FL_DRAW (or Expose) event.
---Gerald Gryschuk <ggryschuk@scf.sk.ca> wrote:
>
> # To subscribers of the xforms list from Gerald Gryschuk
<ggryschuk@scf.sk.ca> :
>
> Hi.
>
> I was attempting to create my own object when I discovered the
following
> behaviour, which may not be unexpected but I was wondering how to get
> around it. If you add text directly to a form using fl_drw_text then
> resize the form using the mouse or freeze the form and then resize an
> object on the form and unfreeze the form the text disappears. Just
to be
> clear on this I've included some sample code showing this behaviour:
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at /cgi-bin/exit-to?http://mail.yahoo.com
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/