I've got strange results while trying to port my
B4A app to
B4J. Application consists on
main module and few
classes. Each class got separate
form i.e.
MsgBox type form e.t.c. that I use in my application. Problem noted when I am trying to call one class from another one. I.e. I've got a form and doing some input values check and in case of error call another class which simulated
MsgBox type window. Resulting window displayed properly - but... I could only close it by clicking on red cross in the top right corner of that windows. Button that suppose to close that windows i.e.:
Sub btnCancel_Action
tform.Close
End Sub
For some strange reason does not work...
But if I call exactly the same class from main application code - everything seems to be fine...
Could you please advice - am I missing something or it just designed to work that way ?