>I think in the old versions of Foxpro we had a parameter of SET INSERT ON or SET INSERT OFF that I think would deal with my situation but I don't think that setting is available in VFP 6.0
>
>I have a basic entry screen where some of the entries are preloaded. I would like the cursor to be in OVERWRITE mode if the operator starts to type into these preloaded fields.
>
>It seems the default is INSERT mode and I can't find a way of turning it off.
>
>If I have to set this as a global paramter for the whole form thats fine but it would be even better if I could set it for just the preloaded fields.
>
>If someone knows how to do this, I would be pleased to hear from you.
>
>Mike Smith
Create a class for your textboxes.
On the when event code like:
IF !empty(This.Value)
=INSMODE(.F.)
Endif
On the lostfocus event
=INSMODE(.T.)
HTH
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!