vba - How to make a ScrollBar visible on a chart in Visual Basic forms -
i have chart needs scrollbar. funny thing scrollbar there, not visible. can interact on bottom of chart , functions ok. isn't visible. anyhow here code...
'ch chart ch.chartareas(0) .axisx .minimum = chartmin .maximum = chartmax .interval = 1 .scaleview.size = chartrows .scaleview.position = chartmax .scrollbar .size = 20 .buttonstyle = scrollbarbuttonstyles.smallscroll .ispositionedinside = true .enabled = true .backcolor = color.lightgray .buttoncolor = color.gray end end .recalculateaxesscale() end
in code not shown x axes disabled. still doesn't explain why interact invisible scroll bar working now.
Comments
Post a Comment