fallguyjg
15th October 2009, 01:07
How can I minimize and restore a form from with a script?
mark_h
15th October 2009, 15:05
First search on max_window on this forum, then check out the change.object to see if there is something with that command that will allow you to minimize a window. I have only used it to anchor a window to 0,0 and to play with the size.
function extern max_window()
{
long My.Win
My.Win = current.mwindow()
| change.object(My.Win,DsNheight,600,DsNwidth,1000,DsNx,0,DsNy,0)
change.object(My.Win,DsNx,0,DsNy,0)
update.object(My.Win)
}