PDA

View Full Version : Disable Save Key



FrankValcarcel
12-Feb-2014, 08:04 PM
Is there a way to disable the SAVE key F2 without putting a key handler in each form?

I have a view with un-related DDs and I don't want the save key to do anything.

Gregg Finney
12-Feb-2014, 09:06 PM
Hi Frank,
Have a look at pbForeignReadOnly and read_only_state.

Harm Wibier
13-Feb-2014, 03:34 AM
In DataFlex 18 there is a property pbSaveKeys on the view that can be used to disable the save key.

FrankValcarcel
13-Feb-2014, 08:07 AM
You da Man.

Gregg Finney
13-Feb-2014, 08:08 AM
There's nothing in the help about what it does.

Property Boolean pbSaveKeys

Read Access: Get pbSaveKeys to BooleanVariable
Write Access: Set pbSaveKeys to BooleanVariable/Value


Kinda figured this much.:)

Harm Wibier
14-Feb-2014, 04:06 AM
That just shows how new it is ;)