Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Do you know about ??CHR(27)+'*p0Y'
Message
De
15/07/1997 14:34:03
 
 
À
15/07/1997 14:27:11
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00040071
Message ID:
00040075
Vues:
46
>>This is some kind of character code that positions data onto
>>a FRM file. Does any know how this works? I know you need
>>to setup some kind of an offset for X and Y coordinates.
>
>IMHO, this is a printer code send to printer, If you can remember in days of dos programming, we use to send printer codes through escape character+... to give effects like bold, italics etc.
>
>27 is the ascii code for escape..

hi vinod and thanks for answering....Can you tell me what the below code does?
function xy_offset
parameter nx,ny
private x,y
xoffset=0
yoffset=0
x=str(nx+xoffset)
y=str(ny+yoffset)
?? chr(27)+'*p'+alltrim(x)+'X'
?? chr(27)+'*p'+alltrim(y)+'Y'
return

thanks..rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform