Spread 8.0 Documentation
ActiveX
Support Options

Glossary Item Box

ActiveX


To set the background and text colors of button cells

At run time,

  1. If your control contains more than one sheet, specify the sheet with which you want to work by setting the Sheet property.
  2. Set the Col, Col2, Row, and Row2 properties as appropriate.
    For more information about setting the Col and Row properties, see Using Column and Row Properties.
  3. If you are selecting a block of cells, set the BlockMode property to True.
  4. Set the CellType property to 7 (Button).
  5. Specify the background color with the TypeButtonColor property.
  6. Specify the text color with the TypeButtonTextColor property.
© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.