Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show Insert On/Off
Message
From
17/06/2003 15:25:05
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00800918
Message ID:
00800929
Views:
23
>>>How do you show in the editbox if Insert is set on or off?
>>>
>>>TIA
>>
>>I don't think you can. About all you can do is show the status in the StatusBar. You'll see either a " " for insert mode, or "OVR" for type over mode.
>
>I have always had status bar off. Don't remember why but somehow I think it had something to do with a bug in VFP 6 when status bar is set on. But I may be mistaken.
>
>Thank you for your help.

You might be able to put code in the EditBox Keypress that checks for the Insert key and then toggles a background color or text color for the editbox, or some other visual cue to the Insert state. You could use the INSMODE() function to get the current state.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform