Re: WinClass Question for Al (part 2)
- Posted by don cole <doncole at pacbell.net> Dec 22, 2005
- 555 views
snip > > I meant to ask you... was your intention with this viewer to stop > directory wrap around (ie after the last picture the viewer jumps > back to the beginning of the directory...first pic) or was that an > accident? > > In onClick_ButtonForward() I added: count=count+1 if count>=totalSupportedFiles then SSToggle=0 retv=win:KillTimer(0,Tid) count=totalSupportedFiles DirListIndex=DirListIndex-1 end if This is to intentionally stop the slide show after it's over. Why would you want to see it again? Unless you are showing it in a department store window or something like that. That reminds me I have to write something in there so the screensaver doesn't kick in. On my computer the screen just goes black after a while. Maybe put a keystroke in the timer or onClick_ButtonForward(). Can you force a keystroke with WinClass? One other thing I have friend who would like to see this slide show but only uses Lenux. Would it be a lot of work to make this cross platform? Don Cole A Bug is an un-documented feature. A Feature is a documented Bug.