Hi everyone,

I was wondering how it is possible to modify the value of a field displayed in 
an HII form.
For instance:

      numeric varid   = MyIfrNVData.HowOldAreYouInYears,
              questionid = 0x1200,
              prompt  = STRING_TOKEN(STR_NUMERIC_STEP_PROMPT),
              help    = STRING_TOKEN(STR_NUMERIC_STEP _HELP),
              flags   = NUMERIC_SIZE_1 | DISPLAY_UINT_DEC |  INTERACTIVE,
              minimum = 0,
              maximum = 243,
              default = 0,
      endnumeric;

In ConfigAccessProtocol  DriverCallback, I have tried modifying this value in 
certain places, with no success.
For instance on actions of type EFI_BROWSER_ACTION_FORM_OPEN and 
EFI_BROWSER_ACTION_RETRIEVE I have tried accessing the Value union and changing 
it: Value->u8 = 5
Then returning EFI_SUCCESS.
I have not seen any values being changed in all my tests. Is there a different 
way to update the value?

Also, will updating the selected option in a 'one of' statement be similar?

Thanks in advance, Ben.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to