Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close Report Designer
Message
 
To
08/12/2005 19:00:51
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01075841
Message ID:
01076539
Views:
44
>Ok I've solved my problem. I modified the reportbuilder.app and changed the ReportBuilder.ProcessEvent include in frxbuilder.prg to check if the value of the m.iEventType is 8 (which happen when I close the report) then I put a Alt-F4 in the keyboard buffer.
>
>Good grief, man, why didn't you define a custom builder event handler or filter for this? You don't need to hack the poor, defenseless ReportBuilder application.
>
>All about the Report Builder Event Handler Registry Table
>
>
>define class xxx as custom
>
>    AllowToContinue = .T.
>
>    procedure Execute( oEvent )
>        if oEvent.EventType = FRX_BLDR_EVENT_REPORTCLOSE
>            keyboard {Alt-F4}
>        endif
>    endproc
>enddefine
>
I was in a hurry so I've taken the fastest way. Thanks for the code I think I'll use it in the next version of my report builder.
Previous
Reply
Map
View

Click here to load this message in the networking platform