Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert vs Overwrite
Message
From
03/07/2002 15:11:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
03/07/2002 13:02:28
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00675011
Message ID:
00675071
Views:
15
>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

I think Zlatin answered your question, but I suggest you consider having a standard UI: Many users will not expect Insert mode to be off in certain textboxes.

If you want to save the user from typing, you can have .SelectOnEntry = .T. - that way, on entry, the text is selected, and the user can overwrite the entire contents without pressing Del. This is clearly visible to the user, hence, there is no UI problem.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform