Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse pictures in my form
Message
De
14/12/2004 07:38:54
 
 
À
14/12/2004 06:53:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00969036
Message ID:
00969042
Vues:
8
>hi all,
>
>i insert my picture.jpg via my scanner as 1.jpg.
>
>if i create table with fields as number ,name...
>
> how i can see mypicture when i insert at myquery form via textbox number 1.
>
>ex.. if mynumber is 1 at myform when i inser at textbox 1 ,i get my name ,age ,address.... and mypicture,
>
>thanks alot.
>m.qasem


In your file create a field which will hold the path to each persons picture file. eg: field name Picture which can contain things like "C:\MyPictures\1.jpg".

On your form add an Image object.

Set the Image object's Picture property to value of the field in your table which holds the path to the picture for the current record.

When you update the other form fields you also update the Image.Picture property.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform