I found what appears to be exactly the thing that I'm looking for here:
http://www.oooforum.org/forum/viewtopic.phtml?t=65111
The following macro can be linked to the "when loading"-event in the Form. It will maximize the form to a full screen-form. The macro's after this one are needed too:
But I can't get it to work... I've entered the macro:
Code: Select all
sub onWhenLoading( oEvent as object )
MaximizeFrame( oEvent.Source.Parent.Parent.CurrentController.Frame)
end sub
Declare Function ShowWindow Lib "user32" _
(ByVal lHwnd As Long, _
ByVal lCmdShow As Long) As Boolean
sub MaximizeFrame( aFrame as object )
dim frame
dim window
dim handle
window = aframe.getContainerWindow()
handle = window.getWindowHandle(dimarray(), 1)
REM 1=WIN32
ShowWindow( handle, 3 )
end sub
and I've mapped it to the "when loading" event on the form properties... but nothing is happening... am I doing something wrong here?? Some1 please help out...