|
| [WD20] Automatic Scrolling with Smooth Animation |
| Iniciado por guest, 02,ago. 2016 21:42 - 3 respuestas |
| |
| | | |
|
| |
| Publicado el 02,agosto 2016 - 21:42 |
I want to have a table that has more records than can fit on the screen. I want the table to smoothly scroll to the bottom and then smoothly scroll back to the top automatically. Is this possible?
I haven't had any luck yet with programming animation of controls. I also haven't had any luck with the animation defined in the control style. I'm about to give this a try. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,agosto 2016 - 21:58 |
Hi Curtis,
it depends what you call smoothly...
You can : do a loop from 1 to tablecount of your table, and do a tableselectplus of each line, then a second loop from tablecount to 1 and do a tableselectplus of the line
-OR-, you can work with apis on the scrollbars of your table to have a smoother scrolling
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,agosto 2016 - 22:01 |
| I'm going to need it to be quite smooth, as professionally smooth as possible. I tried the TableSelectPlus() route, but I could not get it smooth enough. Which apis? Do you mean emulating the mouse? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 02,agosto 2016 - 22:35 |
Hi Curtis,
I mean sending messages directly to the scrollbar to control it... From the top of my head, you can do it with SendMessage, with a WM_VSCROLL message...
EDIT: actually, while the above is still true, there is now a function for that: ScrollbarPosition
Best regards |
| |
| |
| | | |
|
| | | | |
| | |
|