Home Up Favorites Interests Portfolio Resume Support

Targets.OCX
Table of Contents

Targets32a Library *

Targets Control *

Targets Properties, Events, and Methods *

BackColor Property *

BackStyle Property *

BlockName Property *

BorderStyle Property *

Calib1 Property *

Calib2 Property *

CalStatus Property *

CarrierType Property *

Changed Property *

Click Event *

Click2 Event *

CustomCols Property *

CustomRows Property *

DblClick Event *

Enabled Property *

ForeColor Property *

Index Property *

Init Method *

IsCalibWell Method *

KeyDown Event *

KeyPress Event *

KeyUp Event *

Layout Property *

MaxWellCount Property *

MouseDown Event *

MouseDown2 Event *

MouseMove Event *

MouseMove2 Event *

MouseUp Event *

MouseUp2 Event *

RelativeX Property *

RelativeY Property *

Shape Property *

UserControl_MouseMove Method *

WellColorCalibs Property *

WellColorNormal Property *

WellColorUnused Property *

WellName Property *

X Property *

Y Property *

Constants *

TypeofLayouts Constants *

TypeOfCalStatus Constants *

 

Targets32a Library

Description: Targets32a
Library: Targets32a
File Name: TARGETS.OCX
Help File:
GUID: {c5c2e5ed-57b0-11d1-8a45-444553540000}
Control: Targets

Targets Control

Control Name: Targets
Description:
File Name: TARGETS.OCX
Help File:
GUID: {bc6b20c3-5d27-11d1-8a45-444553540000}
Properties: 25
Events: 12
Methods: 3

Before you can use a Targets control in your application, you must add the TARGETS.OCX file to your project. If you use the control in most of your VB projects, you may want to add it to VB's Autoload file.

To distribute applications you create with the Targets control, you must install and register it on the user's computer. The Setup Wizard provided with Visual Basic provides tools to help you do that. Please refer to the Visual Basic manual for details.

 

Targets Properties, Events, and Methods

All of the properties, events, and methods for the Targets control are listed in the following tables. Properties, events, and methods that apply only to this control, or that require special consideration when used with it, are marked with an asterisk (*). These are documented in later sections. For documentation on the remaining properties, see the Visual Basic documentation.

Properties

* BackColor * BackStyle * BlockName
* BorderStyle * Calib1 * Calib2
* CalStatus * CarrierType * Changed
* CustomCols * CustomRows * Enabled
Font * ForeColor * Index
* Layout * MaxWellCount * RelativeX
* RelativeY * Shape * WellColorCalibs
* WellColorNormal * WellColorUnused * WellName
* X * Y

Events

* Click * Click2 * DblClick
* KeyDown * KeyPress * KeyUp
* MouseDown * MouseDown2 * MouseMove
* MouseMove2 * MouseUp * MouseUp2

Methods

* Init * IsCalibWell * UserControl_MouseMove

BackColor Property

Description Returns/sets the background color used to display text and graphics in an object.

Syntax [form!]Targets.BackColor[ = colorref& ]

Data Type Color

BackStyle Property

Description Indicates whether a Label or the background of a Shape is transparent or opaque.

Syntax [form!]Targets.BackStyle[ = value% ]

Data Type Integer

BlockName Property

Description Symbolic name given to carriers. Examples: "TargRed 1"; "TargBlue 1".

Syntax [form!]Targets.BlockName[ = text$ ]

Data Type String

BorderStyle Property

Description Returns/sets the border style for an object.

Syntax [form!]Targets.BorderStyle[ = value% ]

Data Type Integer

Calib1 Property

Description Array of integers specifying the number and location of all calibration points by well index. The first member(0) always contains the number of calibration points in the array. Calib1 contains the Reference point 1 or the several when the object is for sorting bins.

Syntax [form!]Targets.Calib1(i%)[ = value% ]

Data Type Integer

Calib2 Property

Description Array of integers specifying the number and location of all calibration points by well index. The first member(0) always contains the number of calibration points in the array. Calib2 contains the Reference point 2 or the several when the object is for sorting bins.

Syntax [form!]Targets.Calib2(i%)[ = value% ]

Data Type Integer

CalStatus Property

Description Property array indexed by well index to track the calibration progress.

Syntax [form!]Targets.CalStatus(i%)[ = TypeOfCalStatus ]

Settings Valid settings for the CalStatus property are:

Value Constant
0 NotSet
1 Relative
2 Estimated
3 Calculated
4 Calibrated
5 Verified

Data Type TypeOfCalStatus (Enumeration)

CarrierType Property

Description Brief description of Drawingr layout. It can be either a carrier or a frame. Examples: "STD2x6"; "TARG Red"; "STD8x12"; "TARG2x7"

Syntax [form!]Targets.CarrierType[ = text$ ]

Data Type String

Changed Property

Syntax [form!]Targets.Changed(i%)[ = {True | False} ]

Data Type Boolean

Click Event

Syntax Private Sub Targets_Click()

Click2 Event

Syntax Private Sub Targets_Click2(sBlockName As String, sWellName As String, iWellNo As Integer)

CustomCols Property

Syntax [form!]Targets.CustomCols[ = value% ]

Data Type Integer

CustomRows Property

Description When the Layout is Custom, this property specifies the number of rows (back to front) on the frame.

Syntax [form!]Targets.CustomRows[ = value% ]

Data Type Integer

DblClick Event

Syntax Private Sub Targets_DblClick()

Enabled Property

Description Returns/sets a value that determines whether an object can respond to user-generated events.

Syntax [form!]Targets.Enabled[ = {True | False} ]

Data Type Boolean

ForeColor Property

Description Returns/sets the foreground color used to display text and graphics in an object.

Syntax [form!]Targets.ForeColor[ = value& ]

Data Type Long

Index Property

Syntax [form!]Targets.Index[ = value% ]

Data Type Integer

Init Method

Description Internal command not available to application programmer.

Syntax [form!]Targets.Init

IsCalibWell Method

Syntax [form!]Targets.IsCalibWell iWellNo

KeyDown Event

Syntax Private Sub Targets_KeyDown(KeyCode As Integer, Shift As Integer)

KeyPress Event

Syntax Private Sub Targets_KeyPress(KeyAscii As Integer)

KeyUp Event

Syntax Private Sub Targets_KeyUp(KeyCode As Integer, Shift As Integer)

Layout Property

Description Carrier property defining the type of sorting block: TARGRed,TARGBlue,STD8x12 and frames:TARG2x7, Std2x6.

Syntax [form!]Targets.Layout[ = TypeofLayouts ]

Settings Valid settings for the Layout property are:

Value Constant
0 TARGred
1 TARGblue
2 STD8X12
3 Targ56
4 Targ28
5 Targ14
6 Std48
7 Std24
8 Std12
9 Custom
10 Recycle
11 Reject
12 Handoff

Data Type TypeofLayouts (Enumeration)

MaxWellCount Property

Description Maximum number of well objects drawn on user microreactor block or carrier. Useful for iterating through all wells in a block of any type (carrier or frame).

Syntax [form!]Targets.MaxWellCount[ = value% ]

Data Type Integer

MouseDown Event

Syntax Private Sub Targets_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)

MouseDown2 Event

Description This event behaves similar to other MouseDown events except the arguments are tailored especially for sorter applications.

Syntax Private Sub Targets_MouseDown2(sBlockName As String, sWellName As String, iWellNo As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)

MouseMove Event

Syntax Private Sub Targets_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)

MouseMove2 Event

Description This event behaves similar to other MouseMove events except the arguments are tailored especially for sorter applications.

Syntax Private Sub Targets_MouseMove2(sBlockName As String, sWellName As String, iWellNo As Integer)

MouseUp Event

Syntax Private Sub Targets_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)

MouseUp2 Event

Description This event behaves similar to other MouseUp events except the arguments are tailored especially for sorter applications.

Syntax Private Sub Targets_MouseUp2(sBlockName As String, sWellName As String, iWellNo As Integer)

RelativeX Property

Description Consider the Reference Point 1 (Ususally the lower left corner of the carrier) as 0,0. Vectors go to each other well from there. This is the X component (array) in relative terms.

Syntax [form!]Targets.RelativeX(i%)[ = value& ]

Data Type Long

RelativeY Property

Description Consider the Reference Point 1 (Ususally the lower left corner of the carrier) as 0,0. Vectors go to each other well from there. This is the Y component (array) in relative terms.

Syntax [form!]Targets.RelativeY(i%)[ = value& ]

Data Type Long

Shape Property

Description This property returns the indexed shape constituent object so that the programmer can test and/or set the color or make the wewll blink.

Syntax [form!]Targets.Shape(i%)[ = object ]

Data Type Object

UserControl_MouseMove Method

Syntax [form!]Targets.UserControl_MouseMove Button%, Shift%, X!, Y!

WellColorCalibs Property

Description Calibration wells are this color. Default is Yellow.

Syntax [form!]Targets.WellColorCalibs[ = colorref& ]

Data Type Color

WellColorNormal Property

Description Target wells are normally this color unless they also correspond to Calibration wells.

Syntax [form!]Targets.WellColorNormal[ = colorref& ]

Data Type Color

WellColorUnused Property

Description In the TARG microreactor blocks, there is an unused column in each block. This color will be used to designate them.

Syntax [form!]Targets.WellColorUnused[ = colorref& ]

Data Type Color

WellName Property

Description The well name helps associate the conventional well with it row/column intersection of a Letter and an integer.

Syntax [form!]Targets.WellName(i%)[ = text$ ]

Data Type String

X Property

Description If the calibration status is not unused, this array will hold the X component of the sorter coordinates for the well.

Syntax [form!]Targets.X(i%)[ = value& ]

Data Type Long

Y Property

Description If the calibration status is not unused, this array will hold the Y component of the sorter coordinates for the well.

Syntax [form!]Targets.Y(i%)[ = value& ]

Data Type Long

Constants

This section lists all constants that may be used with the controls in this library. These constants are also listed and described in the documentation of the properties and methods to which they apply.

TypeofLayouts Constants

Used with Layout (Targets)

Value Constant
0 TARGred
1 TARGblue
2 STD8X12
3 Targ56
4 Targ28
5 Targ14
6 Std48
7 Std24
8 Std12
9 Custom
10 Recycle
11 Reject
12 Handoff

TypeOfCalStatus Constants

Used with CalStatus (Targets)

Value Constant
0 NotSet
1 Relative
2 Estimated
3 Calculated
4 Calibrated
5 Verified