VIDEO.ObjectVisible |
![]() ![]() |
status = VIDEO.ObjectVisible( nControl AS INTEGER, nObjectType AS INTEGER, nObjectNo AS INTEGER, nNewValue AS INTEGER ) AS INTEGER
Turns the visibility property of an object on or off.
Example:
VIDEO.ObjectVisible( nControl, MT_Tools_Angle, 1, FALSE )
' Play first frame back and forth 5 times just for fun...
FOR i = 1 TO 5 VIDEO.Step( nControl, MT_Forward ) SLEEP 0.1 VIDEO.Step( nControl, MT_Reverse ) SLEEP 0.1 ENDFOR
VIDEO.SetAngleProperties( nControl, MT_All_Tools, MT_Units_Degrees, 3, 1, RGB( 229, 255, 0 ), 0xFF000000, "Arial", 10, MT_Font_Normal, FALSE ) VIDEO.ObjectVisible( nControl, MT_Tools_Angle, 1, TRUE )
|