Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save size of user-resized report
Message
From
10/03/2004 19:03:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00885042
Message ID:
00885051
Views:
11
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
Map
View

Click here to load this message in the networking platform