S
sb
Let's say you have a simple UserControl (2.0 framework) with the following
two settings changed from their default:
AutoScrollMinSize = 16384;
AutoScroll = true;
Once those are set, is there a way to also set the LargeChange and
SmallChange properties of the horizontal/vertical scrollbars to something
other than what the framework determines them to be? It seems that once you
set these AutoScroll values, changes to the scrollbar's Small/LargeChange
properties have no effect.
Essentially, I want the SmallChange to be 16 and the LargeChange to be some
larger number that is also divisible by 16 (based on the clientwidth). That
way when I paint my 16x16 images in the client area, the left/top edges
aren't cut off. You can picture my application being a game editor for
level files that consist of 16x16 tiles.
TIA!
-sb
two settings changed from their default:
AutoScrollMinSize = 16384;
AutoScroll = true;
Once those are set, is there a way to also set the LargeChange and
SmallChange properties of the horizontal/vertical scrollbars to something
other than what the framework determines them to be? It seems that once you
set these AutoScroll values, changes to the scrollbar's Small/LargeChange
properties have no effect.
Essentially, I want the SmallChange to be 16 and the LargeChange to be some
larger number that is also divisible by 16 (based on the clientwidth). That
way when I paint my 16x16 images in the client area, the left/top edges
aren't cut off. You can picture my application being a game editor for
level files that consist of 16x16 tiles.
TIA!
-sb