Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse pictures in my form
Message
De
16/12/2004 04:42:38
 
 
À
16/12/2004 04:02:53
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
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:
00969663
Vues:
8
hi,
thank you very much,it works.

best regards
m.qasem


>I think you need to think about what you want to achieve carefully.
>
>If it was me then when I enter the form I would want the first record to be displayed without having to click on a button.
>
>So in the Init of the form I would add:
>
>thisform.text1.value=1 && assuming this is the first record
>thisform.text2.value=nam && i dont know what nam is or what is held in text2
>Thisform.Image1.Picture = "images\"+alltrim(str(thisform.text1.value))+".jpg"
>
>In theory this should mean that when you enter the form the first record is displayed (before you click on any buttons).
>
>Then in the click of the button:
>IF !EOF()
>thisform.text1.value=thisform.text1.value+1
>thisform.text2.value=nam
>Thisform.Image1.Picture = "images\"+alltrim(str(thisform.text1.value))+".jpg"
>SKIP
>ELSE
>skip -1
>ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform