Re: XForms: problem with tabfolder->form->x,y

From: Angus Leeming (a.leeming@ic.ac.uk)
Date: Wed Nov 29 2000 - 05:57:20 EST

  • Next message: Jan Menzel: "XForms: problem with menu entrys"

    # To subscribers of the xforms list from Angus Leeming <a.leeming@ic.ac.uk> :

    Fantastic! Many, many thanks.
    Angus

    On Tuesday 28 November 2000 21:03, Steve Lamont wrote:
    > # To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :
    > > Try this.
    >
    > Here's a workaround:
    >
    > FL_Coord folder_x;
    > FL_Coord folder_y;
    > FL_Coord folder_w;
    > FL_Coord folder_h;
    >
    > fl_set_object_label(ob, "@8->");
    >
    > fl_get_folder_area( popup->folder_main,
    > &folder_x, &folder_y,
    > &folder_w, &folder_h );
    >
    > x = popup->form_popup->x + folder_x + folder1->button_form->x;
    > y = popup->form_popup->y + folder_y + folder1->button_form->y +
    > folder1->button_form->h;
    >
    > fl_set_form_position(browserform->browserform, x, y);
    > fl_show_form(browserform->browserform,
    > FL_PLACE_POSITION, FL_NOBORDER, "");
    >
    > fl_get_folder_area() gets the position of the Folder object relative
    > to the origin of the parent form. Adding that to the origin of the
    > form itself gets you the origin of the Folder object relative to the
    > root window.
    >
    > spl
    > _________________________________________________
    > 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://world.std.com/~xforms
    > List Archive: http://bob.usuhs.mil/mailserv/list-archives/
    _________________________________________________
    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://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Wed Nov 29 2000 - 06:00:46 EST