General information
Category:
Forms & Form designer
Thank you Sergey. The problem I am finding is that the window in which the report is shown is not actually the invisible form from which it takes size and name but an old type window from the time before VFP. For example it doesn't show up in the _SCREEN.Forms collection.
I don't know how to find find the name of the window in which the report is shown. Wish there was an AWINDOWS() function. WCHILD() returns 0 even though the window in which the report exists.
Any suggestions?
Alex
>Alex,
>
>The resize event of the form fires when the form size changes.
>
>>Hello,
>>
>>I create a form, give it a title and make it invisible, and then issue REPORT FORM ReportName PREVIEW IN WINDOW FormName.
>>
>>The user may resize the report and eventually closes it. I'd like to somehow capture the size of the report window so that when the report is closed, followed by the invisible form closing, the size and position can be saved for the next time that report is viewed. I think a timer in the invisible form may be the way. Any ideas?
>>
Previous
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