New objects: problem w/ fl_hide_object()

Robert S. Mallozzi (
Sun, 16 Feb 1997 13:40:58 -0600

To subscribers of the xforms list from "Robert S. Mallozzi" <> :

Hi all,

I wrote a new object class that appeared to work fine under
v0.81, but now with v0.84, the class is not acting properly.
In particular, if I add the new class into an fl_bgn_grp(), and then
hide/show that group during the running of the program, the new class
does not hide properly. The rest of the group that is being hidden
does the right thing, but the new class is not hidden.

To build the new class, I basically followed the example in the xforms
manual (Ch 25). The new class does not generate any user events, so the
only event that is used in the handling routine is FL_DRAW. As I hide/show
the groups during the running of the program, the handling routine is
invoking the routine to redraw the class at the correct time, but
fl_hide_object() is hiding only the normal xforms objects, not the new
class. This did not occur in v0.81.

I'd appreciate it if someone could point me in the right direction as to
why the new class is not affected by fl_hide_object(), but the rest of the
objects in the current group are. Thanks.

-bob mallozzi

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: