Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescription
<2, 1>ImageContentIntegerTextIf this is a number, it is an index Index to the image to appear on the option button face. Otherwise, this is the text to appear on the button. (Added Text in 4.1.20)
<2, 2>FontFontThe font used to render the button text. (Added 4.1.20)
<2, 3>ColorColorThe color of the button text. (Added 4.1.20)

The Option cell type adds an option button on the right side of the cell, which will fire OnOptionClick events whenever clicked. Otherwise, the cell acts just like a Text cell.

The Image parameter accepts The Content parameter sets the content to appear on the face of the button. If you pass a number, then you are setting it to an index pointing to an image frame in the image specified by the the ImageList property. The image is used on the face of the button property. If you pass anything else, then you are setting text to appear on the button face. To specify the default drop down arrow image, leave the Image blank or set it to 0. If there is no image list defined, then a drop down arrow is usedContent blank.

The Font parameter sets the font used to render text. The default is Tahoma 7.5pt.

The Color parameter sets the color used to render text.

Info

Prior to 4.1.20, you could only set <2, 1> to an image index.

PosNameTypeDescription
<2, 1>HyperFontFontThe font when the text is hot
<2, 2>HyperColorIntegerColorThe color when the text is hot
<2, 3>As DataBooleanA flag indicating whether or not the contents of the cell are treated as data
<2, 4>EditableBooleanA flag indicating whether or not the user can edit the cell

...