Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example sets colors for the scroll bars.

C++

m_Spread.SetEnhancedScrollBarColors((0x00808000,
0x00C0000C, 0x00FF0000, 0x00080000, 0x0C008000,
0x0f000000, 0x08fc0000, 0x00008000, 0x080008800,
0x0f000000, 0x08fc0000, 0x00008000, 0x080008800,
0x08800000, 0x00FF0000, 0x00080000);

Visual Basic

fpSpread1.SetEnhancedScrollBarColors vbRed, vbYellow,
vbBlue, vbGreen, vbBlack, vbWhite, vbMagenta, &H80FF&,
vbBlue, vbGreen, vbBlack, vbWhite, vbMagenta, &H80FF&,
vbBlue, vbRed

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.