>Hi,
>
>In an application there are a few reports. For the user there is build an interface to show (PREVIEW) or to print a report. When using the PREVIEW option, the default preview window shows. Only this window has a caption:
>"Report Designer - MyReport.frx - Page 1". My question is how to change the caption of the report designer window. Anybody an idea?
>
>TIA,
>
>Sander
Something like this :
Define Window Output ;
FROM 1,1 To Scols(),Srows() ;
SYSTEM Name oOUTPUT ;
CLOSE Zoom
With oOUTPUT
.Caption = "My report caption"
.MaxButton = .T.
.WindowState = 2
.Show()
Endwith
Report Form (lcRepName) Preview Window 'OutPut'
If Vartype(oOUTPUT) = 'O'
oOUTPUT.Release()
Endif
Cetin