ScrollBars
Top  Previous  Next

Description

Enables/disables the scroll bars on the control window.


Syntax


[VB]
objActiveGige.ScrollBars [= Value]


[C/C++]
HRESULT get_ScrollBars ( bool *pScrollBars );
HRESULT put_ScrollBars( bool ScrollBars );



Data Type
[VB]

Boolean

Parameters
[C/C++]

pScrollBars [out,retval]  
Pointer to the Boolean that is TRUE if the scroll bars are enable, or FALSE otherwise  
ScrollBars [in]  
Set to TRUE to enable the scroll bars, or set to FALSE otherwise  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


This VB example enables scroll bars on the control window:

ActiveGige1.ScrollBars = 
True

MsgBox ActiveGige1.ScrollBars
 

Remarks


If this property is set to TRUE and the video width or/and height (see SizeX and SizeY) exceed the size of the control window, a scroll bar(s) will be displayed on the border of the control window allowing you to pan the live video. The current position of scroll bars can be retrieved or modified via the ScrollX and ScrollY properties. When the scroll bars are moved, the Scroll event will be raised.

Note that the Acquire and Display properties must be set to TRUE in order for the live video to be displayed in the control window.