I my application i have a lot of forms.
I have an only as top level form, the first form in the application.
The other forms have the properties:
always on top = .T.
desktop = .t.
showwindow = 1
windowstate = 0
windowtype = 1
with this propierties i have the forms ( except the first , in it i have
showwindow = 2)
The previous form of the report have the same propierties:
always on top = .T.
desktop = .t.
showwindow = 1
windowstate = 0
windowtype = 1
and two command botton in the first in the valid i have :
REPORT FORM &_ZINFORME ENVIRONMENT NOCONSOLE TO PRINT PROMPT
in the second botton of this form, in the valida i have :
_SCREEN.CONTROLBOX = .F.
loForm = CREATEOBJECT("Form")
WITH loForm
.WINDOWSTATE = 1
.CAPTION = "Listado por Pantalla"
.MINBUTTON = .F.
.MAXBUTTON = .T.
.CLOSABLE = .T.
.MOVABLE = .T.
.HALFHEIGHTCAPTION = .T.
.BORDERSTYLE = 3
.BACKCOLOR = RGB(255,255,255)
.ALWAYSONTOP = .T.
ENDWITH
lcFormName = loForm.Name
KEYBOARD '{CTRL+F10}'
REPORT FORM &ZINFORME PREV WINDOW &lcFormName
_SCREEN.CONTROLBOX = .T.
RELEASE loForm
ZINFORME is the variable withe the name of the report.
With this code the report appear behind all the forms of my application.
Behind the principal form too in VFP 6.0.
With VFP 5.0 this report appear forward all the screen correctly how i need.
Many thsnks
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