Guide of FZ_CustomControl

FZ_CustomControl is the set of parts for user interface, which are intended to program FJ system control in simple way.
It contains many controls, and this chapter shows the overview of the frequently used controls.
For details, refer to refFZ_CustomControl Reference.

Setting and refering unit data

Appearance
Control name
Purpose

CheckBoxEx
Set ON / OFF status.

CalculationBox
Show and editting calculation form.

ComboBoxEx
Select one item from multiple items.

LabelEx
Show text and numeric data.

LimitBox
Set upper and lower limitation.

NumericBox
Set numeric data.

RadioButtonEx
Select one item from multiple items.

SliderSet
Set numeric data.

SoftKeyboard
Set text string. Pressing button on the right shows software keyboard.

TextBoxEx
Show text string.

UnitComboBox
Select one processing unit from all the units in current scene.

UnitList
Show all the processing unit in current scene.

ValueSetControl
Set numeric data. Pressing button shows ten key panel.
These controls have common properties shown below. By setting these properties, the value of the control is linked to unit data, and automatically updated.
Property
Value
DataType
UnitData
DataIdent
Identification string of external reference data
UnitNo
Number of processing unit
In addition, by setting "RefreshWindow" property, the control automatically update image display when the value of the control is changed.

Display image for setting

These controls are used for displaying image, and setting figure position or color.

SetupImageWindow
Display image.

ZoomBrowser
Set position and rate of zooming.

FigureSetControl
Set figure position.

PointSetControl
Set one position in the image.

StandardSetControl
Set standard position in the image.

ColorSetControl
Select color.

ColorExtractControl
Set range of color.

GrayExtractControl
Set binary level.
SetupImageWindow is a control for displaying image. These properties are to be set to use this.
Property
Value
unitNo
Unit number to display
subNo
Image sub number to display
throughDisp
True: Through False:Freeze
ZoomPosX
ZoomPosY
ZoomRate
Zoom rate and position
For other controls, it is necessary to set "ImageWindow" property as target SetupImageWindow.
Then the control is linked to SetupImageWindow, and work together with it.

Display measurement result image

To display measurement result image, MeasureImageWindow is used.
To control the image shown on MeasureImageWindow, use CoreRA API refFZ_PanDAForm.SetImageWindow.