Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview a LABEL
Message
De
10/10/2013 13:43:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Preview a LABEL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01585183
Message ID:
01585183
Vues:
58
Hi All:

I'm trying to print a label. But before printing, I want the user to preview and then choose the printer.

Usually I would use
LABEL FORM barlabs TO PRINTER PROMPT PREVIEW
But in this case, my form is small and I do not have the VFP main screen, since I'm compiling to an exe and I put screen=off in config.fpw.

So I tried the following:
DEFINE WINDOW joe FROM 1,0 TO 40,180 IN DESKTOP GROW 
ACTIVATE WINDOW joe

*!*	LABEL FORM barlabs TO PRINTER PROMPT PREVIEW in window joe
LABEL FORM barlabs TO PRINTER PROMPT in window joe

RELEASE WINDOWS joe
The problem is that with the following, the toolbar with the little print icon is missing:
LABEL FORM barlabs TO PRINTER PROMPT PREVIEW in window joe
And with this, I don't get a chance to preview:
LABEL FORM barlabs TO PRINTER PROMPT in window joe
How can I accomplish what I want?

Thanks,

Yossi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform