Bug? B4J 6.8 IDE - Cursor

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
 

Erel

Administrator
Staff member
Licensed User
Is this a non-ui app or a ui app? Does it end with an error?
 

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 ?
 

Erel

Administrator
Staff member
Licensed User
ExitApplication can cause such issues. Better to call MainForm.Close to close the app.
 
Top