Hi Tr4d3r,
a new jmodal window and hiding the normal window
it is: a new "JDialog" and hiding the "JFrame"
And there is the problem. Of course the solution is a work around.
the reason is:
Jabacos controls and windows are based on java swing. afaik in swing only the JDialog is capable of being modal, not a JFrame, but the base class of a Jabaco VB.Form is JFrame and in the Jabaco-IDE it is not possible to set the base class of a Form.
if you know another way to do this .. i will appreciate ... or maybe in the next release the show method can have the modal var
So how to implement this in a next release of the Jabaco-Framework?
Make a suggestion! The Jabaco-Framework is OpenSource, so it is on your side please help
my suggestion would be:
we could make two possible base classes for a Form, one is based on JFrame and the other is based on JDialog, and then the Jabaco-IDE maybe could have a Property/Attribute in the property Editor for a Form where you can switch the base classes maybe a property "Modal True/False" would be enough.
@Manuel could this be feasible?
greetings
OlimilO