Page 1 of 1

Field Input Denied

Posted: Fri Apr 17, 2020 9:22 am
by omni
Roger,

Probably an easy way to do this, but I never have.

Have a field (50 characters) where I do not want to use the drop down list due to space on the window, and deny them typing. Force a popup but no keyboard allowed. The required items are fairly long descriptive requirements by one specific of their customers, so in a dbf for standard selection.

Guess I could use a checkbox and force them to check and then select, but did not know if there was a method already built in.

Thanks, and be safe in this weird time

Fred
Omni

Re: Field Input Denied

Posted: Fri Apr 17, 2020 9:42 am
by Wolfgang Ciriack
Hello Omni,
add the following to your object:

Code: Select all

KEYBLOCK {|a,b,o| o:undo() } 

Re: Field Input Denied

Posted: Mon Apr 20, 2020 12:07 am
by skiman
Hi,

Maybe you can use a button, where the caption of the button dynamically displays the current value. When a user clicks on it, you can display the evailable options.