Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close Report Designer
Message
 
À
08/12/2005 19:00:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01075841
Message ID:
01076539
Vues:
47
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform