Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window caption
Message
From
09/04/2003 04:45:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00775362
Message ID:
00775383
Views:
10
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform