Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual basic Code
Message
 
À
20/10/2007 04:23:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01262322
Message ID:
01262323
Vues:
19
>Hi there
>
>In an example provided to program a Barcode Activex i found this VBasic code
>
>
>  Dim barFont As New StdFont
>    barFont.Name = "Courier"
>    barFont.Size = 36
>    barFont.Bold = True
>    oABarCode.font = barFont
>
>Is there anybody who can tell me what is this " New StdFont" and how can it be translate in VFoxPro language ?
>
>seen that i cannot change the font of the barcode text using
>
>    barFont.font.Name = "Courier"
>    barFont.font.Size = 36
>    barFont.font.Bold = True
>
>thank you all once again
>Alessio

Why not try to work directly with Font object:
WITH oABarCode.font
     .Name = "Courier"
     .Size = 36
     .Bold = .t.
ENDWITH
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform