Horizontal scrolling (OpenInsight Specific)
At 18 JUN 2001 11:44:18AM Colin Rule wrote:
I have a table with many columns (programmatically created using the INSERTCOL send message.
I have another table with the same number of columns below, which contain totals of the various numeric values in the upper table.
I have a horizontal scroll bar on the upper table, and I want to scroll the lower totals table also.
I use the HSCROLL event to capture the event, and try and set HPOSITION, but setting this has no effect.
The event is correctly working as I have a debug to see.
Its values are not visible in the debugger view properties either.
Am I missing something here or is this just a big fat bug.
I am using 3.7.4 (recently upgraded this week from 3.7.2).
Are there any workarounds or alternatives?
Thanks
Colin
At 18 JUN 2001 04:21PM Robert Lee wrote:
Colin
I have done something similar using vertical scrolling rather than horizontal scrolling by using the TOPPOS property. I just checked the help on this property and found that it not only returns / sets the top-most visible row in an edittable, it also returns / sets the left-most visible column in an edittable.
I would see if you can get it working this way.
Robert
At 18 JUN 2001 04:49PM Oystein Reigem wrote:
Colin,
HPOSITION and VPOSITION apply to scroll bar controls, not other controls that have scroll bars. Follow Robert's advice.
- Oystein -
At 19 JUN 2001 06:42AM Colin Rule wrote:
Absolutely brilliant, TOPPOS works perfectly.
Thanks
Colin