Consultor Eletrônico



Kbase P17176: 4GL. Is there an easy way to empty the content of a field wi
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/03/2003
Status: Unverified

GOAL:

4GL. Is there an easy way to empty the content of a field without pressing the keys backspace or delete?

FACT(s) (Environment):

Progress 9.x

FIX:

There is an easy way to empty the content of a field without pressing several times the delete or backspace key on the keyboard.

Let say as example that you have several fields (i.e "XX:XX") which should contain times.
If you want to empty a field without pressing delete or backspace, use KEYBOARD-EVENTS.

I have created a Keyboard Event CTRL+S which contain the following:

fill-in-1:screen-value in frame {&frame-name} = " : ".

this will empty the entire field when the user press CTRL+S keys on the keyboard.
The advantage will be that you empty a field without pressing several times to delete key or backspace key.