Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Horizontal split scroll produces double vertical scrollbar

141 views
Skip to first unread message

Michael Bailey

unread,
Sep 17, 1999, 3:00:00 AM9/17/99
to

In an MDI app using the PFC, a sheet has a tab control (tab_1) with three
tabpages (tabpg_1, etc). The tabpage data window controls (dw_1) are inherited
from u_dw with vscrollbar=TRUE. The open event of the sheet contains the
following code:

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

unread,
Sep 17, 1999, 3:00:00 AM9/17/99
to

The app was developed using PB 6.5 with no maintenance releases applied.

Michael Bailey

Philip Salgannik

unread,
Sep 17, 1999, 3:00:00 AM9/17/99
to

Can not recreate this neither in 6.5 nor in 6.51...

--
pbm_thisusuallydoesnothelp:-))
Philip Salgannik
Michael Bailey <mba...@bailey.com> wrote in message
news:5pE3cfUA$GA....@forums.sybase.com...

0 new messages