Re: edit text field
Hello,
I havent looked at Win32lib to see if this is in there but, using this standard
API
settxt = link_c_func(user32,"SetWindowTextA",{C_INT, C_POINTER},C_INT)
the text will be overwritten automatically in a single line edit.
Selected or not.
Euman
euman at bellsouth.net
Q: Are we monetarily insane?
A: YES
----- Original Message -----
From: "Brian Broker" <bkb at cnw.com>
> Hi George,
>
> I don't see an easy way to do this for standard edit controls (unless
> you want to capture key presses and manually replace the character
> following the caret with the captured key).
>
> However, if you replace your Edit controls with RichEdit controls, you
> can use the Insert key to toggle between insert and type-over mode.
>
> -- Brian
>
> George wrote:
> > Does anyone know how to make the edit text field 'type over' instead of
> > 'insert' only. it's a pain in the but to have to swipe all the fields
> > when
> > making changes??
> > Here's the text box
> >
> > id = create(EditText,"",mainWindow,xt,yt,fl,cy+6,eflg)
> >
> > thanks if you can help....
> >
> >
> > George Walters
|
Not Categorized, Please Help
|
|