cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Function Keys For Hidden Buttons

sbaxi
Explorer
0 Kudos

Hello,

We are using Personas 3.0 SP07 on WEBGUI. During Flavor creation we are hiding some of the buttons and thus restricting access to some of the buttons, however if the associate function key / hot key is pressed the hidden functionality can still be used. What is the best way to prevent invoking of hidden functionality, something can be used as either as a global function on all the screens with hidden buttons. Thanks for your help!

Accepted Solutions (1)

Accepted Solutions (1)

Thomas_Mangler
Active Participant

Hi,

i don't know a global solution.
For the single Flavor you can disable function keys with the following code in a onbeforerefresh-Event.
In addition, you can set alternative functions for the funciton keys.

Example for disabling function key "8"

if (triggerType == source.EVENT_VKEY && vkey === "8" ){
	// alternative actions
	return true;
} 

Answers (1)

Answers (1)

sbaxi
Explorer
0 Kudos

Thank You Thomas.