Dials & Gauges Blockset    

Customizing the Frequency Selector Block

The table below lists some simple customizations involving the ActiveX Control Properties dialog box of the Frequency Selector block. To learn how to create an entirely new discrete set of selections, see Creating a New Set of Selections.

Task 
Description 
Change the shape or size of the selector knob
On the Knobs panel, use the KnobStyle property to choose the shape, and the KnobRadius property to determine the size.
Display a mark on the knob to indicate the selected position more precisely
On the Mark panel, choose a value for MarkStyle other than None. To customize the appearance of the mark, use the other properties on the Mark panel.
Remove the mark from the knob
On the Mark panel, set MarkStyle to None.
Change the knob's range of motion

On the Auto panel, check the AutoAngleConfine check box and then use AutoStartAngle and AutoStopAngle to define the range of allowable angles. To allow the knob to move in a full circle, clear the AutoAngleConfine check box.

Define a new selection (that is, new possible value for the knob)
On the Selections panel, increase the Selections property. The ID of the new selection is the Selections property value minus one. To specify properties of the new selection, set SelectionID to that ID and then set the remaining properties on the dialog box panel accordingly. Note that the Highlight Selection and Highlight Color properties apply to all selections on the block.
Change the text label of a selection
On the Selections panel, first set SelectionID to the ID of the selection you want to change. Specify the label using the SelectionCaption property.
Change the appearance of a text label
On the Selections panel, first set SelectionID to the ID of the selection you want to change. Then use Color to set the color of the text, and FontID to refer to a previously defined font (on the Fonts panel).


  Customizing the Generic Knob Block Creating a New Set of Selections