Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run a slide show on form
Message
From
08/05/2010 09:05:08
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01463787
Message ID:
01463789
Views:
75
Pseudocode, not tested
lnNumberoffiles=adir(afiles,'yourdir\*.jpg')
lQuit=.f.
on Escape lQuit=.T.
do while !lQuit 
   for lnX=1 to lnNumberoffiles
      yourimage.picture=afiles(lnNumberoffiles)
      yourimage.refresh()
      Inkey(10,'shk') && 10 seconds
   endfor
enddo


>I have some pictures in a folder. I want to run a slide show on a form.thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform