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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only