Door Library Null Reference Exception

Discussion in 'Bug Reports' started by sahoopes, Jul 15, 2008.

  1. sahoopes

    sahoopes Member Licensed User

    UseMnemonic property of Labels is giving me a problem. I am displaying one line of text from a database. It could contain a "&" and I do not want that replaced with a "_".

    I first tried the following:


    That was fine but I thought it would be better to just use the Door Library to set UseMnemonic to false:


    Using either of the last 2 lines will cause a NullReferenceException error.

    I'm using my previous code to get around this so just reporting my error.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Label.UseMnemonic is not supported by .Net Compact Framework.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice