On 6 Mar, keith tang wrote:
> # To subscribers of the xforms list from keith tang <tang@pcpros.net> :
>
> Does anybody know if an input box can be put in an overwrite mode?
>
> I would like to be able to place the cursor at the beginning of
> existing text and have the new characters overwrite existing characters.
>
> I am aware of "fl_set_input_cursorpos(FL_OBJECT *ob, int xpos, int
> ypos)"
>
> I'm looking for something like:
>
> fl_set_input_mode(obj, FL_OVER_WRITE);
>
Set the input string with fl_set_input(), then use
fl_set_input_selected_range() to cause the input
to be selected. Then when you type into the input
field, it will overwrite the current string.
Check the manual under "Input Class" for more details.
-bob
-- Robert S. Mallozzi http://cspar.uah.edu/~mallozzir/_________________________________________________ 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/