You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My theory is that Larazus destroys the Objects in the Order of the uses.
So first it destroys the Button in the Form-Unit after succesfully destroying it the object doesnt exist anymore but somehow Lazarus tries to destroy the Button in the Interface Unit again, thus the Access Violation on a non existing Object.
When you put the Interfaces after the Unit-Forms bgacontrols will cause a crash after you close the Programm(as seen in Picture)
Don't know if this is a problem with your Controls or Lazarus itself. Still thought its worth mentioning,
since i had no clue what caused the Problem.
Putting the Interface before the Unit-Form solves it though.
The text was updated successfully, but these errors were encountered: