Hello Martin. Sorry, I do not understand the goal of clampinview.
Now about container.frame.sbhorz.pageup/pagedown. With a simple demo-test it works. This demo use the same waveform.pas than a other more complicated project. See attachment and video. msescrolltest.zip <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msescrolltest.zip> msescrollpage_alone.mp4 <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msescrollpage_alone.mp4> But inside a more complicated project, with same code, it does not work. See video. msescrollpage_strum.mp4 <http://mseide-msegui-talk.13964.n8.nabble.com/file/t2/msescrollpage_strum.mp4> The menu-items Up/Down to scroll use this: (waveform.pas, line 239) procedure twavefo.pageup(const sender: TObject); begin container.frame.sbhorz.pageup ; end; procedure twavefo.pagedown(const sender: TObject); begin container.frame.sbhorz.pagedown ; end; And there is no call to wavefo from outside, nor any timer working. But you may see in video that scrolling by code works only once in StrumPract. https://github.com/fredvs/strumpract ;-( Do you have a idea what is wrong ? :-) Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk