Brad,
Just play with:
with _screen
.Top = -100
.Height = sysmetric( 2 ) - 2 * .Top
.Left = -10
.Width = sysmetric( 1 ) - 2 * .Left
.BackColor = 0
endwith
In VFP5 to get a titlebarless form you have to set:
x=createobject("form")
x.visible = .t.
x.closable=.f.
x.caption=""
x.controlbox=.f.
x.minbutton=.f.
x.maxbutton=.f.
x.movable=.f.
>The client wants all their applications re-written (Y2K solution)in Visual 5.0 but...they have to look the same as the old apps. In order to accomplish the 'look and feel' of DOS I have to hide the main FoxPro Window so that the titlebar does not show. I can do this pretty easily with:
>
>application.visible = .F. in the init and
>application.visible = .T. in the destroy if....I am using a screen
> as a top level form
> in leiu of a menu.
>
>This is not the case, however.
>the above solution hides the application completely...as you would expect.
>
>I could also hide any and all traces of the window borders within the
>individual screens to hide the windowing of the screens....
>
>Any idea how is this done, if it can be done?
>
>several other solutions are possible but I'm kicking this one around for now....any ideas? (Plus I'm kinda interested in seeing how this could be done)
>
>TIA
>
>Brad