Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Preview Toolbar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00177432
Message ID:
00177555
Vues:
26
Hi Bill,

>Is there a way to get programmatic control of the "Print Preview" toolbar? I would like to modify Click() for some of the buttons (the print button in particular).

Yes, sort of, at least. You can capture the click with ON KEY LABEL LEFTMOUSE. Then us MWINDOW(), MCOL() and MROW() to determine the postion, maybe WCOLS() and WROWS() to verify that the window has the expected size. If you want to execute your default behavior, use WAIT WINDOW "" to supress the native click event.

Two possible problems: With that technique the user doesn't have a visual clue that she pressed the button, because ON KEY LABEL is actually a MouseDown event. And you can't execute code after the default behavior executed.

Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform