Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling the Report Window
Message
From
07/09/2001 12:44:42
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/09/2001 07:51:37
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00553059
Message ID:
00553914
Views:
20
>Unfortunetely, when I set the property
> .AlwaysOnTop = .T.
>I get no report in the window.
>I do not know if you can reproduce the problem or is linked with my specific situation

You're right, I reproduced your problem. The way out is easy - it takes a couple of properties to set; unfortunately, they're read-only, so I had to create a class:
* proc showfrx
lparam cFrxName
oPrevWind=createobject('pvw')
with oPrevWind
   .caption='Previewing report '+cFrxName
* set other properties of the window here if needed
   .show
   report form (cFrxName) preview window (.name)
   .release
endwith


Define class pvw as form
	windowstate= 2 && or whatever you like
	<b>showwindow=2</b>   && had to be TopWindow to be always on top.
	alwaysontop=.t.
enddefine
Even looks better now, IMO.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform