Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browse pictures in my form
Message
From
16/12/2004 04:42:38
 
 
To
16/12/2004 04:02:53
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00969036
Message ID:
00969663
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform