Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controlling the Report Window
Message
De
07/09/2001 12:44:42
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
07/09/2001 07:51:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00553059
Message ID:
00553914
Vues:
21
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform