Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show Insert On/Off
Message
 
 
À
17/06/2003 15:25:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00800918
Message ID:
00800962
Vues:
26
>>>>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.

Thank you very much for the suggetion. This could work. I will ask the customer what kind of background color effect they can live with.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform