Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Designer (windows name)
Message
De
28/09/2004 13:01:38
 
 
À
28/09/2004 11:31:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00946709
Message ID:
00946796
Vues:
14
>Hi everyones,
>
>In VFP6 I use this piece of code in every report. It's in the init() method.
>
>
>IF UPPER(tcprint) = "PREVIEW"
> ZOOM WINDOWS "Report Designer" MAX
>ENDIF
>
>In VFP8 it gives me an error saying : windows "Report Designer" does not exist. Digging further I found the new name for the window is "Générateur d'états" (in french....). So digging even further I found that the window's name change depending on the regional setting (in windows) on the machine the exe is build.
>
>Being in a bilingual country, this is very cumbersome. Any idea on how to work around that?
>
>A) Why is the preview windows not maximize in the first place? Why do Ì have to do that piece of code anyway? I never found a global setting that would make all my reports full screen on preview.
>
>B) Is there a setting to tell VFP8 not to look at the regional setting on the machine I'm working on?
>
>TIA

hi Diane

Would this work for you ?
IF UPPER(tcprint) = "PREVIEW"
	keyboard '{CTRL+F10}' plain clear  && ZOOM WINDOWS "Report Designer" MAX
ENDIF
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform