Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Hi George,
Looking much much better, but one last problem- here's the sequence of events- whaddya think...:
1. click on "print preview" button on my app's main form.
2. app window DISAPPEARS.... it's minimized on the task bar.
3. right click on it; select Maximize.
4. REPORT PREVIEW APPEARS FULL-SCREEN!! VOILA!!!
5. close this window- my app's main form re-appears.
soooo everything OK except for 3..... can't figure out why I need to maximize the task bar button to get the print preview to come up.... I use this code:
oPreviewFrm=CreateObject("PreviewForm")
release classlib ViewForm
THISFORM.Visible=.F.
report form "trade activity.frx" environment for record_id='1';
noconsole preview in window (oPreviewFrm.Name)
THISFORM.Visible=.T.
_SCREEN.LEFT = -5000
...and the generated class definition code for PreviewForm from the class browser is:
**************************************************
*-- Class: previewform (c:\primdata\viewform.vcx)
*-- ParentClass: form
*-- BaseClass: form
*-- Time Stamp: 09/03/99 02:53:03 PM
*
DEFINE CLASS previewform AS form
ScaleMode = 3
Height = 581
Width = 802
Desktop = .F.
ShowWindow = 2
DoCreate = .T.
AutoCenter = .T.
Caption = ""
TitleBar = 0
WindowType = 0
WindowState = 2
AlwaysOnTop = .T.
Name = "previewform"
ENDDEFINE
*
*-- EndDefine: previewform
**************************************************
Thanks for any other suggestions; best regards..... Rich
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement