Re: XForms: some anomalies with input

From: Angus Leeming (a.leeming@ic.ac.uk)
Date: Thu Dec 07 2000 - 04:24:35 EST

  • Next message: Angus Leeming: "XForms: Re: FormGraphics crash"

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

    Many thanks for this!
    Angus

    On Wednesday 06 December 2000 19:18, Dario Abatianni wrote:
    > # To subscribers of the xforms list from Dario Abatianni
    > <eisfuchs@tigress.com> :
    >
    > Am Mittwoch, 6. Dezember 2000 19:05 schriebst du:
    > > 2) In the File-Save As Dialog: When I set the cursor in the middle of the
    > > filename and press the "Entf"-Key (I think it's called "Del" on english
    > > keyboard layouts) the character on the left side of the cursor is deleted
    > > instead of the right side
    >
    > The xforms input gadgets seem to suffer the old and much hated UNIX problem
    > that the DEL key is mapped to backward delete. You must create a new keymap
    > for xforms to cure this:
    >
    > ------------------------8<----------------------
    >
    > FL_EditKeymap keymap;
    >
    > memset(&keymap,0,sizeof(keymap)); /* Cleanup keymap table */
    >
    > keymap.del_prev_char=8; /* Backward delete is Backspqce (<-) */
    > keymap.del_next_char=127; /* Forward delete is DEL */
    >
    > fl_set_input_editkeymap(&keymap);
    >
    > fl_initialize(&argc,argv,"myXformsProgram",0,0);
    >
    > ------------------------8<----------------------
    >
    > Hope this helps.
    _________________________________________________
    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 : Thu Dec 07 2000 - 04:26:22 EST