GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / ScrollSmallChange Property
Example





In This Topic
ScrollSmallChange Property (GdViewer)
In This Topic
Gets or sets a value to be added to or subtracted from the current scrollbar position when the scrollbar (both horizontal or vertical) is moved a small distance.
Syntax
'Declaration
 
Public Property ScrollSmallChange As Short
public short ScrollSmallChange {get; set;}
public read-write property ScrollSmallChange: Int16; 
public function get,set ScrollSmallChange : short
public: __property short get_ScrollSmallChange();
public: __property void set_ScrollSmallChange( 
   short value
);
public:
property short ScrollSmallChange {
   short get();
   void set (    short value);
}

Property Value

The default value is 1.
Remarks
This value is used for both horizontal and vertical scrollbars in the same way.
Example
How to utilize this property in your GdViewer control.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.ScrollLargeChange = 75
GdViewer1.ScrollSmallChange = 10
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.ScrollLargeChange = 75;
GdViewer1.ScrollSmallChange = 10;
See Also