Use this property to return/set a value that determines the border color the
zoom window will be displayed in.
Value is a long integer. You may also use the RGB function to set
the color. Default: &HC0C0C0 (i.e Light Grey).
Example
longValue = XYChartCtrl.ZoomWindowColor 'Returns
the zoom window's color
XYChartCtrl.ZoomWindowColor =
RGB(0,0,0) 'Three different methods
for setting the zoom
XYChartCtrl.ZoomWindowColor =
vbBlack 'window's
color to Black
XYChartCtrl.ZoomWindowColor = &h00
XYChartCtrl.ZoomWindowColor = RGB(0,0,255) 'Three
different methods for setting the zoom
XYChartCtrl.ZoomWindowColor =
vbBlue 'window's
color to Blue
XYChartCtrl.ZoomWindowColor = &hFF0000
XYChartCtrl.ZoomWindowColor = RGB(0,255,0) 'Three
different methods for setting the zoom
XYChartCtrl.ZoomWindowColor =
vbGreen 'window's
color to Green
XYChartCtrl.ZoomWindowColor = &hFF00
XYChartCtrl.ZoomWindowColor = RGB(255,0,0) 'Three
different methods for setting the zoom
XYChartCtrl.ZoomWindowColor =
vbRed 'window's
color to Red
XYChartCtrl.ZoomWindowColor = &hFF
XYChartCtrl.ZoomWindowColor = RGB(255,255,255) 'Three different methods
for setting the zoom
XYChartCtrl.ZoomWindowColor =
vbWhite 'window's
color to White
XYChartCtrl.ZoomWindowColor = &hFFFFFF
XYChartCtrl.Refresh
'Refresh required to update
chart with
changes made
See
Also