Bug? Do properties in "Main" work? [Answer: No - By design]

Discussion in 'B4J Bugs & Wishlist' started by ShaneG30, Nov 8, 2018.

  1. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    From another class: Trying to set the "Status" property that's in the "Main" class - even with a lowercase "set" the Intellisense still displays the full name.

    Properties.PNG
     
  2. stevel05

    stevel05 Expert Licensed User

    Main is a code module not a class and works the same as any other code module, so no, the property convention is not supported in Main.
     
    Erel and ShaneG30 like this.
  3. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    Thank you :) Never knew that.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Note that you should post questions in the questions forum.
     
    ShaneG30 likes this.
  5. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    To be fair I couldn't tell if this was a bug or a normal operation but will do in the future.
     
Loading...
  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