Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual basic Code
Message
 
To
20/10/2007 04:23:07
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01262322
Message ID:
01262323
Views:
18
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform