Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Continuing where we left off. . . . shapes
Message
De
22/08/2005 19:03:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Continuing where we left off. . . . shapes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01042777
Message ID:
01042777
Vues:
66
The following code in an image click method puts a shape on that image in a form.
Private lcName
lcName = sys(2015)
backcolor =  255
Backstyle = 0
thisform.addobject( lcName, "shape" )

with GETPEM(thisform,lcName)
   .Move(mcol(thisform.Name, 3),mrow( thisform.Name, 3 )) && the form name should to be unique
   .Visible = .t.
endwith
However, it's position on the screen is controlled by Mcol and Mrow and the form I have contains the image of a map that exceeds the screen size. Therefore, I am searching for a solution that uses coordinates. CurrentX and CurrentY might work. I'll try that.
I ain't skeert of nuttin eh?
Yikes! What was that?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform