Page 1 of 1

Concept for Slide-Show

Posted: Thu Mar 26, 2020 7:05 am
by AUGE_OHR
hi,

i can show single Image or PDF and now i like to run "Slide-Show"

my Code ( Modul Image_Show() ) is for single Image and i try this Way

Code: Select all

   FOR i := 1 TO LEN(aDir)
      cFile := aDir[i][F_NAME]
      cExt := ExtensionOnly(cFile) 
      DO CASE
         CASE cExt $ ".BMP.GIF.JPG.TIF.WMF.EMF.CUR.PNG"
            Image_Show( cPath + cFile, nTimeout )
this work ... but not "Timeout" and not "Stop" until End :roll:
when close Image_Show i can use MsgYesNo() ... not a good Solution :(

need some Idea what to modify in my Modul Image_Show() and how to "BREAK" that Loop :idea:

p.s. i donĀ“t want to re-write hole Modul Image_Show() with "new" Button ...

Re: Concept for Slide-Show

Posted: Fri Mar 27, 2020 12:39 am
by AUGE_OHR
hi,

for Timeout

Code: Select all

   DEFINE TIMER SlideTime PARENT ImageEdit  ;
      INTERVAL nTimeout ;
      ACTION ImageEdit.Release