Form1.Focus=true ... problem.

Discussion in 'Bug Reports' started by pdablue, Mar 26, 2009.

  1. pdablue

    pdablue Active Member Licensed User

    Hi,

    When I try to compile the program statement:

    Form1.Focus=true

    using the desktop IDE it generates an error message.

    When I compile on the PDA device it does not generate
    an error message.

    When I try to compile using the desktop IDE to generate
    an (.exe) file for the device, it generates an error message
    everytime the desktop compiler sees this program statement.

    Is this program statment invalid ?
     
  2. agraham

    agraham Expert Licensed User

    Yes. Focus is a method (function) not a property so you can't assign to it, you can only invoke it. It does not have a return value.
     
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