Re: XForms: Detaching a form from a tabfolder

T.C. Zhao (tc_zhao@yahoo.com)
Tue, 12 Oct 1999 16:24:15 -0700 (PDT)

# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

Hi,
I fixed the deletion/detach problem over the weekend.
V0.89 for Solaris is updated. Please let me know how
it goes.
-TC

--- "j.w.c.a. lokin" <lokin@signaal.nl> wrote:
> # To subscribers of the xforms list from "j.w.c.a. lokin"
> <lokin@signaal.nl> :
>
> Hi,
>
> Does anyone know how I can remove a form from a tabfolder and then
> display it in
> a window of its own? I would have guessed that something like this
> would do it:
>
> {
> FL_OBJECT *tabfolder = ...;
> FL_FORM *form = fl_get_active_folder (tabfolder);
>
> fl_delete_folder (tabfolder, form);
> fl_show_form (form, FL_PLACE_FREE, FL_TRANSIENT, "XXX");
> }
>
> Unfortunately this just messes things up: The tabs to the right of
> the deleted
> tab disappear, and only reappear if I move the mouse over them. No
> extra window
> appears at all. Moreover the remaining forms are messed up: the
> forms under the
> tabs to the right of the deleted ones are no longer the ones that
> they used to
> be. As far as I can see, they are moved one place too far to the
> left, so that
> the form originally to the right of the deleted tab has become
> unaccessible, and
> the form belonging to the tab I deleted is magically present under
> the rightmost
> tab.
>
> Of course I am also interested in the opposite action: returning a
> detached form
> to its original parent tabfolder, e.g. in a form_atclose function. I
> guess that
> fl_winreparent coud be used, but I'm wondering how.
>
> Any ideas? I'm running 0.89 on Sparc Solaris 5.6.
>
> --
> -+- Jan Willem Lokin -+-
> _________________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request@bob.usuhs.mil or see
> http://bob.usuhs.mil/mailserv/xforms.html
> XForms Home Page: http://bragg.phys.uwm.edu/xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
>
>

=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/