hi falks
i'm trying to add a button to minimize a form ,
i found a way to do it in rwblinn , using JO (that i didn't work with me).
another ways using libraries ..
is there a simpler way ?
sorry for the noob question
Here are some formutilities that I find useful pretty often. So I put them all in one static class And I thought I'd share it. The most important one, I just found (GetIcons in the lib) allows you to add an icon to display it in the taskbar when the form is minimized (Iconified), I've been...
Sub hide
Dim mf As JavaObject = frm.RootPane
mf.RunMethodJO("getScene",Null).RunMethodJO("getWindow",Null).RunMethod("hide",Null)
End Sub
Sub show
Dim mf As JavaObject = frm.RootPane
mf.RunMethodJO("getScene",Null).RunMethodJO("getWindow",Null).RunMethod("show",Null)
End Sub
I use the code above to hide a window and bring a window to front again.