tab_1.tabpage_1.dw_1.HScrollBar = True
tab_1.tabpage_1.dw_1.HSplitScroll = True
tab_1.tabpage_1.dw_1.Modify("DataWindow.HorizontalScrollSplit = 225")
When the sheet is opened, no rows are displayed but a vertical scroll bar (VSB)
exists. Attempting to use the VSB does nothing. The user must select an
item from another dw (dw_2) on the sheet to retrieve data. When the number
of rows retrieved exceeds the dw height, a second VSB appears next to the
original VSB (both VSB are within dw_1 and the outer VSB extends below the
upper bound of the horizontal scrollbar (HSB) while the inner VSB stops at
the upper bound of the HSB). The inner VSB functions normally. Clicking the
outer VSB below the position bar causes the inner VSB to page down but the
position bar of the outer VSB remains at the top.
Debugging the app shows that the vscrollbar properties of the sheet window
and the tabpage are FALSE at all times and there are no other controls on the
window except for dw_2 (dw_1 and dw_2 do not share data). Changing the value
of the HorizontalScrollSplit has no effect. If the HSplitScroll and Horizontal
ScrollSplit lines of code are removed, the VSB does not appear when the window
opens (no rows) and a normal VSB appears when the number of rows retrieved
exceeds the dw height.
Any ideas?
Michael Bailey
Michael Bailey
--
pbm_thisusuallydoesnothelp:-))
Philip Salgannik
Michael Bailey <mba...@bailey.com> wrote in message
news:5pE3cfUA$GA....@forums.sybase.com...