if ((Statement->ValueExpression != NULL) ||\r
((Statement->QuestionFlags & EFI_IFR_FLAG_READ_ONLY) != 0)) {\r
MenuOption->ReadOnly = TRUE;\r
+ if (FeaturePcdGet (PcdBrowerGrayOutReadOnlyMenu)) {\r
+ MenuOption->GrayOut = TRUE;\r
+ }\r
}\r
\r
InsertTailList (&gMenuOption, &MenuOption->Link);\r
// Check whether Key matches the registered hot key.\r
//\r
HotKey = NULL;\r
- if ((gBrowserSettingScope == SystemLevel) || (gFunctionKeySetting != NONE_FUNCTION_KEY_SETTING)) {\r
+ if ((gBrowserSettingScope == SystemLevel) || \r
+ (Selection->FormEditable && gFunctionKeySetting != NONE_FUNCTION_KEY_SETTING)) {\r
HotKey = GetHotKeyFromRegisterList (&Key);\r
}\r
if (HotKey != NULL) {\r