You are here: Features > Cells > Creation > To create customized buttons, radio buttons, or check boxes

Creating Customized Buttons, Radio Buttons, or Check Boxes

Check boxes, buttons, and radio buttons can be customized to have a variety of behavior when clicked or moused over.

Creating an Image Button

Images may come either from the inventory of built-in CaseView images or from an outside source that is imported into CaseView using the Image Manager (under Tools | Images).

  1. Create a new cell by clicking Home | Cell or right-clicking the cell you want to customize and selecting Edit Cell.

    Tip: Select an empty space or a cell and press Ctrl+L to open the New Cell or Edit Cell dialog.

  2. In the Cell Type list, select Check Box, Radio Button, or Button.
  3. Click the Check Box, Radio Button, or Button tab as applicable.
  4. Under Appearance, select Built in Images if you want to use an CaseView image or select User Defined Images to use an image imported into the Image Manager.

Using a Built-in Image

  1. In the Value 0 (Unchecked) list, select the image to use when the image is not selected or the check box is cleared.
  2. In the Value 1 (Checked) list, select the image to use when the image is pressed or the check box selected.

Using an Imported Image

  1. Select the button style.
    • To use a 3-D appearance as the one used for buttons in dialogs such as OK or Help, select Windows Button.
    • To use a flat appearance as is used for buttons on toolbars, select Toolbar Button.
  2. In the Image Calculation box, enter the label of an image to use, including quotes. The label is used to identify images in the Image Manager.

    Alternately, you can enter a calculation that evaluates to a valid image label. Click to access the Calculation Editor to compose the function.

  3. In the State Calculation box, set the permanent behavior of the check box, button or radio button, based on the value chosen.
Value Appearance
-1 or blank Normal

0

Disabled (greyed out)

1

Enabled (regular button)

3

Pressed (pressed down)

4 Hide User Defined Images

5

It appears hot tracked

7

Appears hot tracked and pressed down

Note: Hot tracked normally means that the button changes appearance as the mouse pointer moves over. However, in a State calculation it does not actually change as the mouse is moved over and away from it.

Creating a Text Button Cell

Creating a text button cell is similar to an image button. However, the title of the button is entered (surrounded by double-quotes) in the calculation bar on the General tab of the Edit Cell dialog.

Using an image which includes text is not recommended, as button sizing may cause the image to be resized to fit. Embedded text cannot be separated from the remainder of the image to scale cleanly; the image is scaled as a whole. As a result a resized text image may not appear as intended.

Related Topics