I have grid with e.g. 20 rows. At the beggining scrollbar is invisible and ActiveRowScrollRegion.ScrollPosition = 1. Then
a) I resize grid (only 10 rows are visible) -> scrollbar appears
b) I scroll grid -> ActiveRowScrollRegion.ScrollPosition = 8 (e.g.)
c) I resize grid (all 20 rows are visible) -> scrollbar disappears BUT ActiveRowScrollRegion.ScrollPosition = 8 ???
I have 2 questions:
1) Why doesn't scrollbar reset it's ScrollPosition value when it disappears ?
2) Is it possible to determine if scrollbar is visible? (Any scrollbar 's property? )
1) I guess the control doesn't bother to reset the scroll position because it's irrelevant and it would be a waste of processing time.
2) HOWTO:How can I determine if an UltraWinGrid is displaying a Vertical Scrollbar?
Thanks a lot.