Bug? B4J 6.8 IDE - Cursor

Discussion in 'B4J Bugs & Wishlist' started by Patent, Dec 2, 2018.

  1. Patent

    Patent Member Licensed User

    Its not related to V6.8.
    It was the same in older Versions:

    The IDE does not remember the actual cursor position.
    For exampe: cursor is in row 254 in main sub.
    starting the app (in debug mode).
    closing the app.
    the ide jumps to row1.
    (not allways, but 95%. Cant say when not....)

    greets
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Is this a non-ui app or a ui app? Does it end with an error?
     
  3. Patent

    Patent Member Licensed User

    its a ui app.
    no error.
    regulary closed by the user.
    I found that the ExitApplication Command does this.
    I am using ExitApplication2(0) at the end of this app. Is this not a proper way ?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    ExitApplication can cause such issues. Better to call MainForm.Close to close the app.
     
    Patent likes this.
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