Chapter 14

Database Controls


CONTENTS

This chapter contains a collection of controls that are a dream-come-true for a Web-based database application GUI developer. The controls fall under the "formatted control" category. You can use these controls for getting different types of data from the user-for example, the fpCurrency control for getting dollar amount data and the fpBoolean control for option boxes and check boxes.

The controls are chosen for their compactness as well as their functionality. Most of the controls are useful to build the front-end Web forms to interface with Internet and intranet databases. Among the various controls, the fpxxx series of controls from FarPoint Technologies are very versatile and simple to use. As you can see from fpxxx series' properties, methods, and events, they are powerful enough to handle all your input needs.

NOTE
All the controls in this chapter are commercial controls. You can download demo versions from the ActiveX Gallery Web site or from the developer's Web site. But, if you plan to use them for your Web applications, you should purchase the controls.

fpBoolean

The fpBoolean is a very versatile two- or three-state ActiveX control. This formatted control can be used as a check box or as an option control. This control can be bound to byte, Boolean, numeric, or text values in the back-end database.

Source

Vendor Information:

FarPoint Technologies, Inc.
http://www.fpoint.com
133 Southcenter Court, Suite 1000
Morrisville, NC 27560
(800) 645-4551
(919) 460-7606
Figure 14.1 : The fpBoolean control

Properties

Table 14.1  Properties of the fpBoolean Control

PropertyDescription
AlignPictureHThe horizontal alignment of the picture
AlignPictureVThe vertical alignment of the picture
AlignTextHThe horizontal alignment of the text
AlignTextVThe vertical alignment of the text
AllowMnemonicTrue, to allow the "&" as a valid character
AppearanceThe border look-flat, #D, and so on
AutoToggleTrue, to allow the user to toggle the value by using the space bar or clicking
BackColorThe background color of the object
BooleanModeTwo-state, three-state, or button
BooleanPictureCheck box, option button, or user-defined mode
BorderColorThe object's border color
BorderDropShadowThe 3-D shadow for border-none, always, or on focus
BorderDropShadowColorThe border 3-D shadow color
BorderDropShadowWidthThe border 3-D shadow width
BorderGrayAreaColorThe color of the gray area of the 3-D border
BorderStyleThe object's border style
BorderWidthThe object's border width
CaptionThe caption for the control
CodeBaseThe origin of the control, including the URL, file type, and version number
DataChangedTrue, when the data is changed
DataFieldThe name of the bound column in the DataSource
DataSourceThe source of the database to be bound to this control
EnabledTrue, to set the control to get focus and respond to UI
FontThe font of the control caption
ForeColorThe foreground color of the object
GroupIDThe group number
GroupSelectThe rule for the controls in a group-no rule, any combination, no more than one, one and only one, one or more
GroupTagThe number inside the group-1, 2, 4, 8, and so on
GroupValueThe value of all the controls in a group
HeightThe vertical height of the object
hWNDThe handle for the window
IDThe name of the object/control
LeftThe distance between the left edge of the control and the left edge of the HTML layout
MarginBottomThe bottom margin in pixels
MarginLeftThe left margin in pixels
MarginRightThe right margin in pixels
MarginTopThe top margin in pixels
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
MultiLineTrue, to set the text display in more than one line
PictureFalseThe picture that appears with the user-defined BooleanPicture property's False state.
PictureFalseDisabled The picture that appears with the user-defined BooleanPicture property's False Disabled state
PictureFalseDown The picture that appears with the user-defined BooleanPicture property's False Down state
PictureGrayed The picture that appears with the user-defined BooleanPicture property's Grayed state
PictureGrayedDisabled The picture that appears with the user-defined BooleanPicture property's Grayed Disabled state
PictureGrayedDown The picture that appears with the user-defined BooleanPicture property's Grayed Down state
PictureTrue The picture that appears with the user-defined BooleanPicture property's True state
PictureTrueDisabled The picture that appears with the user-defined BooleanPicture property's True Disabled state
PictureTrueDown The picture that appears with the user-defined BooleanPicture property's True Down state
ReDrawRepaint the control
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
TextFalseThe text that appears for a False state
TextGrayedThe text that appears for a Grayed state
TextTrueThe text that appears for a True state
ThreeDFrameColorThe color of the 3-D frame
ThreeDFrameWidthThe width of the 3-D frame
ThreeDInsideHighliteColorThe color for the inner border 3-D highlight
ThreeDInsideShadowColorThe color for the inner border 3-D shadow
ThreeDInsideStyleThe style for the inner border 3-D-none, lowered, raised
ThreeDInsideWidthThe width for the inner border 3-D
ThreeDOnFocusInvertTrue, to invert the 3-D when the control gets focus
ThreeDOutsideHighliteColor  The color for the outer border 3-D highlight
ThreeDOutsideShadowColorThe color for the outer border 3-D shadow
ThreeDOutsideStyleThe style for the outer border 3-D-none, lowered, raised
ThreeDOutsideWidthThe width for the outer border 3-D
ToggleFalseThe character to toggle the control to False state
ToggleGrayedThe character to toggle the control to Grayed state
ToggleTrueThe character to toggle the control to True state
TopThe distance between the top edge of the control and the top edge of the HTML layout
ValueThe numeric value of the state of the control
VisibleFalse, to hide the control
WidthThe width of the control in points

Method

Table 14.2  Method of the fpBoolean Control

MethodDescription
AboutBoxDisplays the About dialog box

Events

Table 14.3  Events of the fpBoolean Control

EventDescription
AdvanceTriggers when a valid character is entered at the last position
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button
UserErrorTriggers when an error occurs

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>

    <OBJECT ID="fpBoolean1" WIDTH=148 HEIGHT=32

 CLASSID="CLSID:95C3A8D4-81CB-11CF-ADD0-00AA00A5053A">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="3138">

    <PARAM NAME="_ExtentY" VALUE="662">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="12632256">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="1">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="1">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="2">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="1">

    <PARAM NAME="AutoToggle" VALUE="-1">

    <PARAM NAME="BooleanStyle" VALUE="0">

    <PARAM NAME="ToggleFalse" VALUE="">

    <PARAM NAME="TextFalse" VALUE="fpBoolean1-False">

    <PARAM NAME="BooleanPicture" VALUE="0">

    <PARAM NAME="AlignPictureH" VALUE="3">

    <PARAM NAME="AlignPictureV" VALUE="1">

    <PARAM NAME="GroupId" VALUE="1">

    <PARAM NAME="GroupTag" VALUE="1">

    <PARAM NAME="GroupSelect" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="MultiLine" VALUE="0">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="1">

    <PARAM NAME="ToggleTrue" VALUE="">

    <PARAM NAME="TextTrue" VALUE="fpBoolean1-True">

    <PARAM NAME="Value" VALUE="0">

    <PARAM NAME="BooleanMode" VALUE="0">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="ToggleGrayed" VALUE="">

    <PARAM NAME="TextGrayed" VALUE="fpBoolean1-Grayed">

    <PARAM NAME="AllowMnemonic" VALUE="-1">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="0">

    <PARAM NAME="BorderDropShadow" VALUE="1">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

</OBJECT>

<P>

    <OBJECT ID="fpBoolean2" WIDTH=148 HEIGHT=43

 CLASSID="CLSID:95C3A8D4-81CB-11CF-ADD0-00AA00A5053A">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="3138">

    <PARAM NAME="_ExtentY" VALUE="917">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="12632256">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="1">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="1">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="2">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="1">

    <PARAM NAME="AutoToggle" VALUE="-1">

    <PARAM NAME="BooleanStyle" VALUE="0">

    <PARAM NAME="ToggleFalse" VALUE="">

    <PARAM NAME="TextFalse" VALUE="fpBoolean2-False">

    <PARAM NAME="BooleanPicture" VALUE="0">

    <PARAM NAME="AlignPictureH" VALUE="3">

    <PARAM NAME="AlignPictureV" VALUE="1">

    <PARAM NAME="GroupId" VALUE="1">

    <PARAM NAME="GroupTag" VALUE="1">

    <PARAM NAME="GroupSelect" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="MultiLine" VALUE="0">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="1">

    <PARAM NAME="ToggleTrue" VALUE="">

    <PARAM NAME="TextTrue" VALUE="fpBoolean2-True">

    <PARAM NAME="Value" VALUE="0">

    <PARAM NAME="BooleanMode" VALUE="0">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="ToggleGrayed" VALUE="">

    <PARAM NAME="TextGrayed" VALUE="fpBoolean2-Grayed">

    <PARAM NAME="AllowMnemonic" VALUE="-1">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="-1">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="0">

    <PARAM NAME="BorderDropShadow" VALUE="1">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

</OBJECT></BODY>

</HTML>

Notes

This is a very versatile control. It can even have different captions depending on the button state. Additionally, you can make it totally pictorial and have a separate graphic for each state.

fpCurrency

The fpCurrency is a formatted currency and numeric data-entry ActiveX control. It performs validation for invalid characters, a range of values, and so on. This control can be bound to numeric, currency, or text values in the back-end database.

Source

Vendor Information:

FarPoint Technologies, Inc.
http://www.fpoint.com
133 Southcenter Court, Suite 1000
Morrisville, NC 27560
(800) 645-4551
(919) 460-7606
Figure 14.2 : The fpCurrency control

Properties

Table 14.4  Properties of the fpCurrency Control

PropertyDescription
AlignTextHThe horizontal alignment of the picture
AlignTextVThe vertical alignment of the picture
AllowNullTrue, to allow the user the capability to leave this control blank
AppearanceThe border look-flat, 3-D, and so on
AutoAdvanceTrue, to advance to the next control after pressing the Enter key
AutoBeepTrue, to sound the beep on user error
BackColorThe background color of the object
BorderColorThe object's border color
BorderDropShadowThe 3-D shadow for border-none, always, on focus
BorderDropShadowColorThe border 3-D shadow color
BorderDropShadowWidthThe border 3-D shadow width
BorderGrayAreaColorThe color of the gray area of the 3-D border
BorderStyleThe object's border style
BorderWidthThe object's border width
ButtonDefaultActionTrue, to enable the default action for the spin button
ButtonDisableTrue, to disable the buttons on the control
ButtonHideTrue, to hide the buttons
ButtonIncrementThe value by which the button index will be increased or decreased
ButtonMaxThe upper limit for the button index
ButtonMinThe lower limit for the button index
ButtonStyleThe style of the button-none, spin, slide, and so on
ButtonWidthThe width of the button
ButtonWrapTrue, to reset the button index when it crosses the upper or lower limits
CaretInsertThe caret for the insert mode
CaretOverwriteThe overstrike mode caret
CodeBaseThe origin of the control, including the URL, file type, and version number
ControlTypeThe control UI mode-normal, read-only, static, button edit
CurrencyDecimalPlacesThe number of decimal places
CurrencyNegFormatThe appearance when the number is negative
CurrencyPlacementThe placement of the currency symbol
CurrencySymbolThe currency symbol
CurrentPositionThe current position of the cursor
DataChangedTrue, when the data is changed
DataFieldThe name of the bound column in the DataSource
DataSourceThe source of the database to be bound to this control
DecimalPointThe character to be used for decimal point
EnabledTrue, to set the control to get focus and respond to UI
FixedPointTrue, to display zeroes to the right of decimal place
FontThe font of the control caption
ForeColorThe foreground color of the object
HeightThe vertical height of the object
HideSelectionTrue, to highlight the selected characters even when the control loses focus
hWNDThe handle for the window
IDThe name of the object/control
IncDecThe decimal portion increment when using the button
IncIntThe integer portion increment when using the button
InvalidColorThe background color when the data in the control is invalid
InvalidOptionAction for invalid data when the control loses focus-show data, hide data, clear data
LeadZeroThe leading zero display option
LeftThe distance between the left edge of the control and the left edge of the HTML layout
MarginBottomThe bottom margin in pixels
MarginLeftThe left margin in pixels
MarginRightThe right margin in pixels
MarginTopThe top margin in pixels
MaxValueThe upper limit for the control value
MinValueThe lower limit for the control value
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
NegToggleTrue, to allow the user to enter negative value
NoSpecialKeysOption for handling keyboard keys
NullColorThe background color when the control contains no value
OnFocusAlignHHorizontal alignment of the data in the control when it gets focus
OnFocusAlignVVertical alignment of the data in the control when it gets focus
OnFocusNoSelectFalse, to select the data in the control when it gets focus
OnFocusPositionThe position of the cursor in the data in the control when it gets focus
SeparatorThe thousands separator character
ReDrawRepaint the control
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
ThreeDFrameColorThe color of the 3-D frame
ThreeDFrameWidthThe width of the 3-D frame
ThreeDInsideHighliteColorThe color for the inner border 3-D highlight
ThreeDInsideShadowColorThe color for the inner border 3-D shadow
ThreeDInsideStyleThe style for the inner border 3-D-none, lowered, raised
ThreeDInsideWidthThe width for the inner border 3-D
ThreeDOnFocusInvertTrue, to invert the 3-D when the control gets focus
ThreeDOutsideHighliteColor  The color for the outer border 3-D highlight
ThreeDOutsideShadowColorThe color for the outer border 3-D shadow
ThreeDOutsideStyleThe style for the outer border 3-D-none, lowered, raised
ThreeDOutsideWidthThe width for the outer border 3-D
TopThe distance between the top edge of the control and the top edge of the HTML layout
UserEntryFormatted or free format
UseSparatorTrue, to display the thousands separator character
VisibleFalse, to hide the control
WidthThe width of the control in points

Method

Table 14.5  Method of the fpCurrency Control

MethodDescription
AboutBoxDisplays the About dialog box

Events

Table 14.6  Events of the fpCurrency Control

EventDescription
AdvanceTriggers when a valid character is entered at the last position
ButtonHitTriggers when a button is pressed by the user
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ChangeModeTriggers when the user changes the edit mode between insert and overstrike
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidDataTriggers when the control contains invalid data
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by ther user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button
UserErrorTriggers when an error occurs

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="fpCurrency1" WIDTH=135 HEIGHT=32

 CLASSID="CLSID:59834660-C0FE-101C-933E-0000C005958C">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="2863">

    <PARAM NAME="_ExtentY" VALUE="662">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="-2147483643">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="1">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="1">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="1">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="1">

    <PARAM NAME="ButtonDisable" VALUE="0">

    <PARAM NAME="ButtonHide" VALUE="0">

    <PARAM NAME="ButtonIncrement" VALUE="1">

    <PARAM NAME="ButtonMin" VALUE="0">

    <PARAM NAME="ButtonMax" VALUE="10000">

    <PARAM NAME="ButtonStyle" VALUE="1">

    <PARAM NAME="ButtonWidth" VALUE="0">

    <PARAM NAME="ButtonWrap" VALUE="-1">

    <PARAM NAME="ButtonDefaultAction" VALUE="-1">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="0">

    <PARAM NAME="AllowNull" VALUE="0">

    <PARAM NAME="NoSpecialKeys" VALUE="0">

    <PARAM NAME="AutoAdvance" VALUE="0">

    <PARAM NAME="AutoBeep" VALUE="0">

    <PARAM NAME="CaretInsert" VALUE="0">

    <PARAM NAME="CaretOverWrite" VALUE="3">

    <PARAM NAME="UserEntry" VALUE="0">

    <PARAM NAME="HideSelection" VALUE="-1">

    <PARAM NAME="InvalidColor" VALUE="-2147483637">

    <PARAM NAME="InvalidOption" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="NullColor" VALUE="-2147483637">

    <PARAM NAME="OnFocusAlignH" VALUE="0">

    <PARAM NAME="OnFocusAlignV" VALUE="0">

    <PARAM NAME="OnFocusNoSelect" VALUE="0">

    <PARAM NAME="OnFocusPosition" VALUE="0">

    <PARAM NAME="ControlType" VALUE="0">

    <PARAM NAME="Text" VALUE="$0.00">

    <PARAM NAME="CurrencyDecimalPlaces" VALUE="-1">

    <PARAM NAME="CurrencyNegFormat" VALUE="0">

    <PARAM NAME="CurrencyPlacement" VALUE="0">

    <PARAM NAME="CurrencySymbol" VALUE="$">

    <PARAM NAME="DecimalPoint" VALUE="">

    <PARAM NAME="FixedPoint" VALUE="-1">

    <PARAM NAME="LeadZero" VALUE="0">

    <PARAM NAME="MaxValue" VALUE="100000">

    <PARAM NAME="MinValue" VALUE="0">

    <PARAM NAME="NegToggle" VALUE="0">

    <PARAM NAME="Separator" VALUE="">

    <PARAM NAME="UseSeparator" VALUE="-1">

    <PARAM NAME="IncInt" VALUE="1">

    <PARAM NAME="IncDec" VALUE="1">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="3">

    <PARAM NAME="BorderDropShadow" VALUE="0">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

</OBJECT>

<P>

<OBJECT ID="fpCurrency1" WIDTH=200 HEIGHT=32

 CLASSID="CLSID:59834660-C0FE-101C-933E-0000C005958C">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="4233">

    <PARAM NAME="_ExtentY" VALUE="670">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="-2147483643">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="0">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="0">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="1">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="1">

    <PARAM NAME="ButtonDisable" VALUE="0">

    <PARAM NAME="ButtonHide" VALUE="0">

    <PARAM NAME="ButtonIncrement" VALUE="1">

    <PARAM NAME="ButtonMin" VALUE="0">

    <PARAM NAME="ButtonMax" VALUE="100">

    <PARAM NAME="ButtonStyle" VALUE="4">

    <PARAM NAME="ButtonWidth" VALUE="0">

    <PARAM NAME="ButtonWrap" VALUE="-1">

    <PARAM NAME="ButtonDefaultAction" VALUE="-1">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="0">

    <PARAM NAME="AllowNull" VALUE="0">

    <PARAM NAME="NoSpecialKeys" VALUE="0">

    <PARAM NAME="AutoAdvance" VALUE="0">

    <PARAM NAME="AutoBeep" VALUE="0">

    <PARAM NAME="CaretInsert" VALUE="0">

    <PARAM NAME="CaretOverWrite" VALUE="3">

    <PARAM NAME="UserEntry" VALUE="0">

    <PARAM NAME="HideSelection" VALUE="-1">

    <PARAM NAME="InvalidColor" VALUE="-2147483637">

    <PARAM NAME="InvalidOption" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="NullColor" VALUE="-2147483637">

    <PARAM NAME="OnFocusAlignH" VALUE="0">

    <PARAM NAME="OnFocusAlignV" VALUE="0">

    <PARAM NAME="OnFocusNoSelect" VALUE="0">

    <PARAM NAME="OnFocusPosition" VALUE="0">

    <PARAM NAME="ControlType" VALUE="0">

    <PARAM NAME="Text" VALUE="$0.00">

    <PARAM NAME="CurrencyDecimalPlaces" VALUE="-1">

    <PARAM NAME="CurrencyNegFormat" VALUE="0">

    <PARAM NAME="CurrencyPlacement" VALUE="0">

    <PARAM NAME="CurrencySymbol" VALUE="">

    <PARAM NAME="DecimalPoint" VALUE=".">

    <PARAM NAME="FixedPoint" VALUE="-1">

    <PARAM NAME="LeadZero" VALUE="0">

    <PARAM NAME="MaxValue" VALUE="10000">

    <PARAM NAME="MinValue" VALUE="-100000">

    <PARAM NAME="NegToggle" VALUE="0">

    <PARAM NAME="Separator" VALUE="">

    <PARAM NAME="UseSeparator" VALUE="-1">

    <PARAM NAME="IncInt" VALUE="1">

    <PARAM NAME="IncDec" VALUE="1">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="0">

    <PARAM NAME="BorderDropShadow" VALUE="0">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

</OBJECT>



</BODY>

</HTML>

fpDateTime

The fpDateTime is a formatted date and time data-entry ActiveX control. It performs validation for invalid characters, a range of dates, and so on. This control can be bound to date, time, or text values in the back-end database. One of the interesting features of this control is the capability to select data from a drop-down or popup calendar.

Source

Vendor Information:

FarPoint Technologies, Inc.
http://www.fpoint.com
133 Southcenter Court, Suite 1000
Morrisville, NC 27560
(800) 645-4551
(919) 460-7606
Figure 14.3 : The fpDateTime control drop-down calendar

Figure 14.4 : The fpDateTime control popup calendar

Properties

Table 14.7  Properties of the fpDateTime Control

PropertyDescription
AlignTextHThe horizontal alignment of the text
AlignTextVThe vertical alignment of the text
AllowNullTrue, to allow the user the capability to leave this control blank
AppearanceThe border look-flat, 3-D, and so on
AutoAdvanceTrue, to advance to the next control after pressing the Enter key
AutoBeepTrue, to sound the beep on user error
BackColorThe background color of the object
BorderColorThe object's border color
BorderDropShadowThe 3-D shadow for border-none, always, on focus
BorderDropShadowColorThe border 3-D shadow color
BorderDropShadowWidthThe border 3-D shadow width
BorderGrayAreaColorThe color of the gray area of the 3-D border
BorderStyleThe object's border style
BorderWidthThe object's border width
ButtonDefaultActionTrue, to enable the default action for the spin button
ButtonDisableTrue, to disable the buttons on the control
ButtonHideTrue, to hide the buttons
ButtonIncrementThe value by which the button index will be increased or decreased
ButtonMaxThe upper limit for the button index
ButtonMinThe lower limit for the button index
ButtonStyleThe style of the button-none, spin, slide, and so on
ButtonWidthThe width of the button
ButtonWrapTrue, to reset the button index when it crosses the upper or lower limits
CaretInsertThe caret for the insert mode
CaretOverwriteThe overstrike mode caret
CodeBaseThe origin of the control, including the URL, file type, and version number
ControlTypeThe control UI mode-normal, read-only, static, button edit
CurrentPositionThe current position of the cursor
DataChangedTrue, when the data is changed
DataFieldThe name of the bound column in the DataSource
DataSourceThe source of the database to be bound to this control
DateCalcMethodThe method for calculating missing date and time values-Current Date/Time, User Defined Date/Time, 50/50, Future
DateDefaultThe default date displayed when the control is initialized
DateMaxThe upper limit for the date entry
DateMinThe lower limit for date entry
DateTimeFormatThe format of the date/time
DayThe day value of the date in the control
EnabledTrue, to set the control to get focus and respond to UI
FontThe font of the control caption
ForeColorThe foreground color of the object
HeightThe vertical height of the object
HideSelectionTrue, to highlight the selected characters even when the control loses focus
hWNDThe handle for the window
IDThe name of the object/control
InvalidColorThe background color when the data in the control is invalid
InvalidOptionAction for invalid data when the control loses focus-show data, hide data, clear data
LeftThe distance between the left edge of the control and the left edge of the HTML layout
MarginBottomThe bottom margin in pixels
MarginLeftThe left margin in pixels
MarginRightThe right margin in pixels
MarginTopThe top margin in pixels
MonthThe month value of the date in the control
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
NoSpecialKeysOption for handling keyboard keys
NullColorThe background color when the control contains no value
OnFocusAlignHHorizontal alignment of the data in the control when it gets focus
OnFocusAlignVVertical alignment of the data in the control when it gets focus
OnFocusNoSelectFalse, to select the data in the control when it gets focus
OnFocusPositionThe position of the cursor in the data in the control when it gets focus
ReDrawRepaint the control
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
ThreeDFrameColorThe color of the 3-D frame
ThreeDFrameWidthThe width of the 3-D frame
ThreeDInsideHighliteColorThe color for the inner border 3-D highlight
ThreeDInsideShadowColorThe color for the inner border 3-D shadow
ThreeDInsideStyleThe style for the inner border 3-D-none, lowered, raised
ThreeDInsideWidthThe width for the inner border 3-D
ThreeDOnFocusInvertTrue, to invert the 3-D when the control gets focus
ThreeDOutsideHighliteColor  The color for the outer border 3-D highlight
ThreeDOutsideShadowColorThe color for the outer border 3-D shadow
ThreeDOutsideStyleThe style for the outer border 3-D-none, lowered, raised
ThreeDOutsideWidthThe width for the outer border 3-D
TimeDefaultThe default time that appears when the control is initialized
TimeMaxThe upper limit for the time entry
TimeMinThe lower limit for date entry
TimeString1159The string to indicate morning, for example, am
TimeString2359The string to indicate evening, for example, pm
TimeStyleThe style for time display: 12-hour, 24-hour, and so on
TimeValueThe value of time in the control
TopThe distance between the top edge of the control and the top edge of the HTML layout
UnFmtTextThe control text without any formatting
UserDefinedFormatThe format for display for user-defined format
UserEntryFormatted or free format
VisibleFalse to hide the control
WidthThe width of the control in points
YearThe year value of the date in the control

Method

Table 14.8  Method of the fpDateTime Control

MethodDescription
AboutBoxDisplays the About dialog box

Events

Table 14.9  Events of the fpDateTime Control

EventDescription
AdvanceTriggers when a valid character is entered at the last position
ButtonHitTriggers when the user presses a button
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ChangeModeTriggers when the user changes the edit mode between insert and overstrike
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidDataTriggers when the control contains invalid data
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation or, function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button
PopupTriggers when the popup calendar is activated
UserErrorTriggers when an error occurs

Example


<HTML>

<HEAD>

<TITLE>Jyothi's Page Page</TITLE>

</HEAD>

<BODY>

<P>

<TEXT> With drop-down Calendar</TEXT>

<P>

<OBJECT ID="fpDateTime1" WIDTH=238 HEIGHT=32

 CLASSID="CLSID:B8958DE0-BAC9-101C-933E-0000C005958C">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="5045">

    <PARAM NAME="_ExtentY" VALUE="670">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="16777215">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="0">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="0">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="1">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="1">

    <PARAM NAME="ButtonDefaultAction" VALUE="-1">

    <PARAM NAME="ButtonDisable" VALUE="0">

    <PARAM NAME="ButtonHide" VALUE="0">

    <PARAM NAME="ButtonIncrement" VALUE="1">

    <PARAM NAME="ButtonMin" VALUE="0">

    <PARAM NAME="ButtonMax" VALUE="100">

    <PARAM NAME="ButtonStyle" VALUE="3">

    <PARAM NAME="ButtonWidth" VALUE="0">

    <PARAM NAME="ButtonWrap" VALUE="-1">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="0">

    <PARAM NAME="AllowNull" VALUE="0">

    <PARAM NAME="NoSpecialKeys" VALUE="0">

    <PARAM NAME="AutoAdvance" VALUE="0">

    <PARAM NAME="AutoBeep" VALUE="0">

    <PARAM NAME="CaretInsert" VALUE="0">

    <PARAM NAME="CaretOverWrite" VALUE="3">

    <PARAM NAME="UserEntry" VALUE="1">

    <PARAM NAME="HideSelection" VALUE="-1">

    <PARAM NAME="InvalidColor" VALUE="-2147483637">

    <PARAM NAME="InvalidOption" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="NullColor" VALUE="-2147483637">

    <PARAM NAME="OnFocusAlignH" VALUE="0">

    <PARAM NAME="OnFocusAlignV" VALUE="0">

    <PARAM NAME="OnFocusNoSelect" VALUE="0">

    <PARAM NAME="OnFocusPosition" VALUE="0">

    <PARAM NAME="ControlType" VALUE="0">

    <PARAM NAME="Text" VALUE="Thursday, November 28, 1996">

    <PARAM NAME="DateCalcMethod" VALUE="0">

    <PARAM NAME="DateTimeFormat" VALUE="1">

    <PARAM NAME="UserDefinedFormat" VALUE="">

    <PARAM NAME="DateMax" VALUE="00000000">

    <PARAM NAME="DateMin" VALUE="00000000">

    <PARAM NAME="TimeMax" VALUE="000000">

    <PARAM NAME="TimeMin" VALUE="000000">

    <PARAM NAME="TimeString1159" VALUE="">

    <PARAM NAME="TimeString2359" VALUE="">

    <PARAM NAME="DateDefault" VALUE="00000000">

    <PARAM NAME="TimeDefault" VALUE="000000">

    <PARAM NAME="TimeStyle" VALUE="0">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="0">

    <PARAM NAME="BorderDropShadow" VALUE="0">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

</OBJECT>

<P>

<TEXT> With popup Calendar</TEXT>

<P>

<OBJECT ID="fpDateTime1" WIDTH=213 HEIGHT=32

 CLASSID="CLSID:B8958DE0-BAC9-101C-933E-0000C005958C">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="4514">

    <PARAM NAME="_ExtentY" VALUE="662">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="-2147483643">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="0">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="0">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="2">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="1">

    <PARAM NAME="ButtonDefaultAction" VALUE="-1">

    <PARAM NAME="ButtonDisable" VALUE="0">

    <PARAM NAME="ButtonHide" VALUE="0">

    <PARAM NAME="ButtonIncrement" VALUE="1">

    <PARAM NAME="ButtonMin" VALUE="0">

    <PARAM NAME="ButtonMax" VALUE="100">

    <PARAM NAME="ButtonStyle" VALUE="2">

    <PARAM NAME="ButtonWidth" VALUE="0">

    <PARAM NAME="ButtonWrap" VALUE="-1">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="0">

    <PARAM NAME="AllowNull" VALUE="0">

    <PARAM NAME="NoSpecialKeys" VALUE="0">

    <PARAM NAME="AutoAdvance" VALUE="0">

    <PARAM NAME="AutoBeep" VALUE="0">

    <PARAM NAME="CaretInsert" VALUE="0">

    <PARAM NAME="CaretOverWrite" VALUE="3">

    <PARAM NAME="UserEntry" VALUE="1">

    <PARAM NAME="HideSelection" VALUE="-1">

    <PARAM NAME="InvalidColor" VALUE="-2147483637">

    <PARAM NAME="InvalidOption" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="NullColor" VALUE="-2147483637">

    <PARAM NAME="OnFocusAlignH" VALUE="0">

    <PARAM NAME="OnFocusAlignV" VALUE="0">

    <PARAM NAME="OnFocusNoSelect" VALUE="0">

    <PARAM NAME="OnFocusPosition" VALUE="0">

    <PARAM NAME="ControlType" VALUE="0">

    <PARAM NAME="Text" VALUE="fpDateTime1">

    <PARAM NAME="DateCalcMethod" VALUE="0">

    <PARAM NAME="DateTimeFormat" VALUE="0">

    <PARAM NAME="UserDefinedFormat" VALUE="">

    <PARAM NAME="DateMax" VALUE="00000000">

    <PARAM NAME="DateMin" VALUE="00000000">

    <PARAM NAME="TimeMax" VALUE="000000">

    <PARAM NAME="TimeMin" VALUE="000000">

    <PARAM NAME="TimeString1159" VALUE="">

    <PARAM NAME="TimeString2359" VALUE="">

    <PARAM NAME="DateDefault" VALUE="00000000">

    <PARAM NAME="TimeDefault" VALUE="000000">

    <PARAM NAME="TimeStyle" VALUE="0">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="0">

    <PARAM NAME="BorderDropShadow" VALUE="1">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

</OBJECT>





</BODY>

</HTML>

Notes

This control is essential in the tool box of any Web designer. The user-friendly popup or drop-down calendar is becoming an essential feature for data-entry systems.

fpDoubleSingle

The fpDoubleSingle is a formatted, decimal, numeric data-entry ActiveX control. It performs validation for invalid characters, a range of values, and so on. This control can be bound to numeric or text values in the back-end database.

Source

Vendor Information:

FarPoint Technologies, Inc.
http://www.fpoint.com
133 Southcenter Court, Suite 1000
Morrisville, NC 27560
(800) 645-4551
(919) 460-7606
Figure 14.5 : The fpDoubleSingle control

Properties

Table 14.10  Properties of the fpDoubleSingle Control

PropertyDescription
AlignTextHThe horizontal alignment of the text
AlignTextvThe vertical alignment of the text
AllowNullTrue, to allow the user the capability to leave this control blank
AppearanceThe border look-flat, 3-D, and so on
AutoAdvanceTrue, to advance to the next control after pressing the Enter key
AutoBeepTrue, to sound the beep on user error
BackColorThe background color of the object
BorderColorThe object's border color
BorderDropShadowThe 3-D shadow for border-none, always, on focus
BorderDropShadowColorThe border 3-D shadow color
BorderDropShadowWidthThe border 3-D shadow width
BorderGrayAreaColorThe color of the gray area of the 3-D border
BorderStyleThe object's border style
BorderWidthThe object's border width
ButtonDefaultActionTrue, to enable the default action for the spin button
ButtonDisableTrue, to disable the buttons on the control
ButtonHideTrue, to hide the buttons
ButtonIncrementThe value by which the button index will be increased or decreased
ButtonMaxThe upper limit for the button index
ButtonMinThe lower limit for the button index
ButtonStyleThe style of the button-none, spin, slide, and so on
ButtonWidthThe width of the button
ButtonWrapTrue, to reset the button index when it crosses the upper or lower limits
CaretInsertThe caret for the insert mode
CaretOverwriteThe overstrike mode caret
CodeBaseThe origin of the control, including the URL, file type, and version number
ControlTypeThe control UI mode-normal, read-only, static, button edit
DataChangedTrue, when the data is changed
DataFieldThe name of the bound column in the DataSource
DataSourceThe source of the database to be bound to this control
DecimalPlacesThe number of decimal places in the control
DecimalPointThe character to be used for decimal point
EnabledTrue, to set the control to get focus and respond to UI
FixedPointTrue, to display zeroes to the right of decimal place
FontThe font of the control caption
ForeColorThe foreground color of the object
HeightThe vertical height of the object
HideSelectionTrue, to highlight the selected characters even when the control loses focus
HwndThe handle for the window
IDThe name of the object/control
IncDecThe decimal portion increment when using the button
IncIntThe integer portion increment when using the button
InvalidColorThe background color when the data in the control is invalid
InvalidOptionThe action for invalid data when the control loses focus-show data, hide data, clear data
LeadZeroThe leading zero display option
LeftThe distance between the left edge of the control and the left edge of the HTML layout
MarginBottomThe bottom margin in pixels
MarginLeftThe left margin in pixels
MarginRightThe right margin in pixels
MarginTopThe top margin in pixels
MaxValueThe upper limit for the control value
MinValueThe lower limit for the control value
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
NegFormatThe display format for negative numbers
NegToggleTrue, to allow the user to enter negative value
NoSpecialKeysThe option for handling keyboard keys
NullColorThe background color when the control contains no value
OnFocusAlignHHorizontal alignment of the data in the control when it gets focus
OnFocusAlignVVertical alignment of the data in the control when it gets focus
OnFocusNoSelectFalse, to select the data in the control when it gets focus
OnFocusPositionThe position of the cursor in the data in the control when it gets focus
SeparatorThe thousands separator character
ReDrawRepaint the control
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
ThreeDFrameColorThe color of the 3-D frame
ThreeDFrameWidthThe width of the 3-D frame
ThreeDInsideHighliteColorThe color for the inner border 3-D highlight
ThreeDInsideShadowColorThe color for the inner border 3-D shadow
ThreeDInsideStyleThe style for the inner border 3-D-none, lowered, raised
ThreeDInsideWidthThe width for the inner border 3-D
ThreeDOnFocusInvertTrue, to invert the 3-D when the control gets focus
ThreeDOutsideHighliteColor  The color for the outer border 3-D highlight
ThreeDOutsideShadowColorThe color for the outer border 3-D shadow
ThreeDOutsideStyleThe style for the outer border 3-D-none, lowered, raised
ThreeDOutsideWidthThe width for the outer border 3-D
TopThe distance between the top edge of the control and the top edge of the HTML layout
UserEntryFormatted or free format
UseSparatorTrue, to display the thousands separator character
VisibleFalse, to hide the control
WidthThe width of the control in points

Method

Table 14.11  Method of the fpDoubleSingle Control

MethodDescription
AboutBoxDisplays the About dialog box

Events

Table 14.12  Events of the fpDoubleSingle Control

EventDescription
AdvanceTriggers when a valid character is entered at the last position
ButtonHitTriggers when a button is pressed by the user
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ChangeModeTriggers when the user changes the edit mode between insert and overstrike
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidDataTriggers when the control contains invalid data
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button
UserErrorTriggers when an error occurs

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="fpDoubleSingle1" WIDTH=135 HEIGHT=32

 CLASSID="CLSID:B8958DE5-BAC9-101C-933E-0000C005958C">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="2858">

    <PARAM NAME="_ExtentY" VALUE="670">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="-2147483643">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="0">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="0">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="2">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="3">

    <PARAM NAME="ButtonDisable" VALUE="0">

    <PARAM NAME="ButtonHide" VALUE="0">

    <PARAM NAME="ButtonIncrement" VALUE="1">

    <PARAM NAME="ButtonMin" VALUE="0">

    <PARAM NAME="ButtonMax" VALUE="100">

    <PARAM NAME="ButtonStyle" VALUE="4">

    <PARAM NAME="ButtonWidth" VALUE="0">

    <PARAM NAME="ButtonWrap" VALUE="-1">

    <PARAM NAME="ButtonDefaultAction" VALUE="-1">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="0">

    <PARAM NAME="AllowNull" VALUE="0">

    <PARAM NAME="NoSpecialKeys" VALUE="0">

    <PARAM NAME="AutoAdvance" VALUE="0">

    <PARAM NAME="AutoBeep" VALUE="0">

    <PARAM NAME="CaretInsert" VALUE="0">

    <PARAM NAME="CaretOverWrite" VALUE="3">

    <PARAM NAME="UserEntry" VALUE="0">

    <PARAM NAME="HideSelection" VALUE="-1">

    <PARAM NAME="InvalidColor" VALUE="-2147483637">

    <PARAM NAME="InvalidOption" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="NullColor" VALUE="-2147483637">

    <PARAM NAME="OnFocusAlignH" VALUE="0">

    <PARAM NAME="OnFocusAlignV" VALUE="0">

    <PARAM NAME="OnFocusNoSelect" VALUE="0">

    <PARAM NAME="OnFocusPosition" VALUE="0">

    <PARAM NAME="ControlType" VALUE="0">

    <PARAM NAME="Text" VALUE="0.00">

    <PARAM NAME="DecimalPlaces" VALUE="-1">

    <PARAM NAME="DecimalPoint" VALUE="">

    <PARAM NAME="FixedPoint" VALUE="-1">

    <PARAM NAME="LeadZero" VALUE="0">

    <PARAM NAME="MaxValue" VALUE="9000000000">

    <PARAM NAME="MinValue" VALUE="-9000000000">

    <PARAM NAME="NegFormat" VALUE="1">

    <PARAM NAME="NegToggle" VALUE="0">

    <PARAM NAME="Separator" VALUE="">

    <PARAM NAME="UseSeparator" VALUE="0">

    <PARAM NAME="IncInt" VALUE="1">

    <PARAM NAME="IncDec" VALUE="1">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="0">

    <PARAM NAME="BorderDropShadow" VALUE="0">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

</OBJECT>



</BODY>

</HTML>

fpLongIntegerSingle

The fpLongInteger is a formatted, numeric data-entry ActiveX control. It performs validation for invalid characters, a range of values, and so on. This control can be bound to numeric or text values in the back-end database.

Source

Vendor Information:

FarPoint Technologies, Inc.
http://www.fpoint.com
133 Southcenter Court, Suite 1000
Morrisville, NC 27560
(800) 645-4551
(919) 460-7606
Figure 14.6 : The fpLongInteger control

Properties

Table 14.13  Properties of the fpLongInteger Control

PropertyDescription
AlignTextHThe horizontal alignment of the text
AlignTextVThe vertical alignment of the text
AllowNullTrue, to allow the user the capability to leave this control blank
AppearanceThe border look-flat, 3-D, and so on
AutoAdvanceTrue, to advance to the next control after pressing the Enter key
AutoBeepTrue, to sound the beep on user error
BackColorThe background color of the object
BorderColorThe object's border color
BorderDropShadowThe 3-D shadow for border-none, always, on focus
BorderDropShadowColorThe border 3-D shadow color
BorderDropShadowWidthThe border 3-D shadow width
BorderGrayAreaColorThe color of the gray area of the 3-D border
BorderStyleThe object's border style
BorderWidthThe object's border width
ButtonDefaultActionTrue, to enable the default action for the spin button
ButtonDisableTrue, to disable the buttons on the control
ButtonHideTrue, to hide the buttons
ButtonIncrementThe value by which the button index will be increased or decreased
ButtonMaxThe upper limit for the button index
ButtonMinThe lower limit for the button index
ButtonStyleThe style of the button-none, spin, slide, and so on
ButtonWidthThe width of the button
ButtonWrapTrue, to reset the button index when it crosses the upper or lower limits
CaretInsertThe caret for the insert mode
CaretOverwriteThe overstrike mode caret
CodeBaseThe origin of the control, including the URL, file type, and version number
ControlTypeThe control UI mode-normal, read-only, static, button edit
DataChangedTrue, when the data is changed
DataFieldThe name of the bound column in the DataSource
DataSourceThe source of the database to be bound to this control
EnabledTrue, to set the control to get focus and respond to UI
FontThe font of the control caption
ForeColorThe foreground color of the object
HeightThe vertical height of the object
HideSelectionTrue, to highlight the selected characters even when the control loses focus
hWNDThe handle for the window
IDThe name of the object/control
IncDecThe decimal portion increment when using the button
IncIntThe integer portion increment when using the button
InvalidColorThe background color when the data in the control is invalid
InvalidOptionThe action for invalid data when the control loses focus-show data, hide data, clear data
LeftThe distance between the left edge of the control and the left edge of the HTML layout
MarginBottomThe bottom margin in pixels
MarginLeftThe left margin in pixels
MarginRightThe right margin in pixels
MarginTopThe top margin in pixels
MaxValueThe upper limit for the control value
MinValueThe lower limit for the control value
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
NegFormatThe display format for negative numbers
NegToggleTrue, to allow the user to enter negative value
NoSpecialKeysThe option for handling keyboard keys
NullColorThe background color when the control contains no value
OnFocusAlignHHorizontal alignment of the data in the control when it gets focus
OnFocusAlignVVertical alignment of the data in the control when it gets focus
OnFocusNoSelectFalse, to select the data in the control when it gets focus
OnFocusPositionThe position of the cursor in the data in the control when it gets focus
SeparatorThe thousands separator character
ReDrawRepaint the control
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
ThreeDFrameColorThe color of the 3-D frame
ThreeDFrameWidthThe width of the 3-D frame
ThreeDInsideHighliteColorThe color for the inner border 3-D highlight
ThreeDInsideShadowColorThe color for the inner border 3-D shadow
ThreeDInsideStyleThe style for the inner border 3-D-none, lowered, raised
ThreeDInsideWidthThe width for the inner border 3-D
ThreeDOnFocusInvertTrue, to invert the 3-D when the control gets focus
ThreeDOutsideHighliteColor  The color for the outer border 3-D highlight
ThreeDOutsideShadowColorThe color for the outer border 3-D shadow
ThreeDOutsideStyleThe style for the outer border 3-D-none, lowered, raised
ThreeDOutsideWidthThe width for the outer border 3-D
TopThe distance between the top edge of the control and the top edge of the HTML layout
UserEntryFormatted or free format
UseSparatorTrue, to display the thousands separator character
ValueThe value of the data in the control
VisibleFalse, to hide the control
WidthThe width of the control in points

Method

Table 14.14  Method of the fpLongInteger Control

MethodDescription
AboutBoxDisplays the About dialog box

Events

Table 14.15  Events of the fpLongInteger Control

EventDescription
AdvanceTriggers when a valid character is entered at the last position
ButtonHitTriggers when a button is pressed by the user
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ChangeModeTriggers when the user changes the edit mode between insert and overstrike
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidDataTriggers when the control contains invalid data
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button
UserErrorTriggers when an error occurs

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>

    <OBJECT ID="fpLongInteger1" WIDTH=148 HEIGHT=32

     CLASSID="CLSID:B8958DEF-BAC9-101C-933E-0000C005958C">

        <PARAM NAME="_Version" VALUE="131072">

        <PARAM NAME="_ExtentX" VALUE="3140">

        <PARAM NAME="_ExtentY" VALUE="670">

        <PARAM NAME="_StockProps" VALUE="68">

        <PARAM NAME="BackColor" VALUE="-2147483643">

        <PARAM NAME="ForeColor" VALUE="-2147483640">

        <PARAM NAME="ThreeDInsideStyle" VALUE="0">

        <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

        <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

        <PARAM NAME="ThreeDInsideWidth" VALUE="1">

        <PARAM NAME="ThreeDOutsideStyle" VALUE="0">

        <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

        <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

        <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

        <PARAM NAME="ThreeDFrameWidth" VALUE="0">

        <PARAM NAME="BorderStyle" VALUE="1">

        <PARAM NAME="BorderColor" VALUE="-2147483642">

        <PARAM NAME="BorderWidth" VALUE="1">

        <PARAM NAME="ButtonDisable" VALUE="0">

        <PARAM NAME="ButtonHide" VALUE="0">

        <PARAM NAME="ButtonIncrement" VALUE="1">

        <PARAM NAME="ButtonMin" VALUE="0">

        <PARAM NAME="ButtonMax" VALUE="100">

        <PARAM NAME="ButtonStyle" VALUE="1">

        <PARAM NAME="ButtonWidth" VALUE="0">

        <PARAM NAME="ButtonWrap" VALUE="-1">

        <PARAM NAME="ButtonDefaultAction" VALUE="-1">

        <PARAM NAME="ThreeDText" VALUE="0">

        <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

        <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

        <PARAM NAME="ThreeDTextOffset" VALUE="1">

        <PARAM NAME="AlignTextH" VALUE="0">

        <PARAM NAME="AlignTextV" VALUE="0">

        <PARAM NAME="AllowNull" VALUE="0">

        <PARAM NAME="NoSpecialKeys" VALUE="0">

        <PARAM NAME="AutoAdvance" VALUE="0">

        <PARAM NAME="AutoBeep" VALUE="0">

        <PARAM NAME="CaretInsert" VALUE="0">

        <PARAM NAME="CaretOverWrite" VALUE="3">

        <PARAM NAME="UserEntry" VALUE="0">

        <PARAM NAME="HideSelection" VALUE="-1">

        <PARAM NAME="InvalidColor" VALUE="-2147483637">

        <PARAM NAME="InvalidOption" VALUE="0">

        <PARAM NAME="MarginLeft" VALUE="3">

        <PARAM NAME="MarginTop" VALUE="3">

        <PARAM NAME="MarginRight" VALUE="3">

        <PARAM NAME="MarginBottom" VALUE="3">

        <PARAM NAME="NullColor" VALUE="-2147483637">

        <PARAM NAME="OnFocusAlignH" VALUE="0">

        <PARAM NAME="OnFocusAlignV" VALUE="0">

        <PARAM NAME="OnFocusNoSelect" VALUE="0">

        <PARAM NAME="OnFocusPosition" VALUE="0">

        <PARAM NAME="ControlType" VALUE="0">

        <PARAM NAME="Text" VALUE="fpLongInteger1">

        <PARAM NAME="MaxValue" VALUE="2147483647">

        <PARAM NAME="MinValue" VALUE="-2147483648">

        <PARAM NAME="NegFormat" VALUE="1">

        <PARAM NAME="NegToggle" VALUE="0">

        <PARAM NAME="Separator" VALUE="">

        <PARAM NAME="UseSeparator" VALUE="0">

        <PARAM NAME="IncInt" VALUE="1">

        <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

        <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

        <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

        <PARAM NAME="Appearance" VALUE="0">

        <PARAM NAME="BorderDropShadow" VALUE="0">

        <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

        <PARAM NAME="BorderDropShadowWidth" VALUE="3">

    </OBJECT>

</BODY>

</HTML>

fpMask

The fpMask is a formatted data-entry ActiveX control. This control can be used for any type of data entry, such as Social Security numbers, phone numbers, and ZIP codes. It performs validation for invalid characters, a range of values, and so on. This control can be bound to any type of value (except binary type) in the back-end database.

Source

Vendor Information:

FarPoint Technologies, Inc.
http://www.fpoint.com
133 Southcenter Court, Suite 1000
Morrisville, NC 27560
(800) 645-4551
(919) 460-7606
Figure 14.7 : The fpMask control

Properties

Table 14.16  Properties of the fpMask Control

PropertyDescription
AlignTextHThe horizontal alignment of the text
AlignTextVThe vertical alignment of the text
AllowNullTrue, to allow the user the capability to leave this control blank
AllowOverflowTrue, to allow the user to enter more characters on a full control
AppearanceThe border look-flat, 3-D, and so on
AutoAdvanceTrue, to advance to the next control after pressing the Enter key
AutoBeepTrue, to sound the beep on user error
AutoTabTrue, to go to next control by using the Tab key
BackColorThe background color of the object
BestFitTrue, to accept data that does not fit the mask exactly
BorderColorThe object's border color
BorderDropShadowThe 3-D shadow for border-none, always, on focus
BorderDropShadowColorThe border 3-D shadow color
BorderDropShadowWidthThe border 3-D shadow width
BorderGrayAreaColorThe color of the gray area of the 3-D border
BorderStyleThe object's border style
BorderWidthThe object's border width
ButtonDisableTrue, to disable the buttons on the control
ButtonHideTrue, to hide the buttons
ButtonIncrementThe value by which the button index will be increased or decreased
ButtonMaxThe upper limit for the button index
ButtonMinThe lower limit for the button index
ButtonStyleThe style of the button-none, spin, slide, and so on
ButtonWidthThe width of the button
ButtonWrapTrue, to reset the button index when it crosses the upper or lower limits
CaretInsertThe caret for the insert mode
CaretOverwriteThe overstrike mode caret
ClipModeClip data and literals or clip data without literals
CodeBaseThe origin of the control, including the URL, file type, and version number
ControlTypeThe control UI mode-normal, read-only, static, button edit
DataChangedTrue, when the data is changed
DataFieldThe name of the bound column in the DataSource
DataSourceThe source of the database to be bound to this control
EnabledTrue, to set the control to get focus and respond to UI
FixedPointTrue, to display zeros to the right of decimal place
FontThe font of the control caption
ForeColorThe foreground color of the object
HeightThe vertical height of the object
HideSelectionTrue, to highlight the selected characters even when the control loses focus
hWNDThe handle for the window
IDThe name of the object/control
IncDecThe decimal portion increment when using the button
IncIntThe integer portion increment when using the button
InvalidColorThe background color when the data in the control is invalid
InvalidOptionAction for invalid data when the control loses focus-show data, hide data, clear data
LeftThe distance between the left edge of the control and the left edge of the HTML layout
MarginBottomThe bottom margin in pixels
MarginLeftThe left margin in pixels
MarginRightThe right margin in pixels
MarginTopThe top margin in pixels
MaskThe edit mask for this control
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
NoPrefixThe mode for the entry of the "&" character
NoSpecialKeysOption for handling keyboard keys
NullColorThe background color when the control contains no value
OnFocusAlignHHorizontal alignment of the data in the control when it gets focus
OnFocusAlignVVertical alignment of the data in the control when it gets focus
OnFocusNoSelectFalse, to select the data in the control when it gets focus
OnFocusPositionThe position of the cursor in the data in the control when it gets focus
PromptCharThe character to indicate placeholder for data
PromptIncludeTrue, to include the prompt characters when the data is cut or copied
RequireFillTrue, to require that all the characters be filled when the control loses focus
ReDrawRepaint the control
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
ThreeDFrameColorThe color of the 3-D frame
ThreeDFrameWidthThe width of the 3-D frame
ThreeDInsideHighliteColorThe color for the inner border 3-D highlight
ThreeDInsideShadowColorThe color for the inner border 3-D shadow
ThreeDInsideStyleThe style for the inner border 3-D-none, lowered, raised
ThreeDInsideWidthThe width for the inner border 3-D
ThreeDOnFocusInvertTrue, to invert the 3-D when the control gets focus
ThreeDOutsideHighliteColor  The color for the outer border 3-D highlight
ThreeDOutsideShadowColorThe color for the outer border 3-D shadow
ThreeDOutsideStyleThe style for the outer border 3-D-none, lowered, raised
ThreeDOutsideW idthThe width for the outer border 3-D
TopThe distance between the top edge of the control and the top edge of the HTML layout
UserEntryFormatted or free format
VisibleFalse, to hide the control
WidthThe width of the control in points

Method

Table 14.17  Method of the fpMask Control

MethodDescription
AboutBoxDisplays the About dialog box

Events

Table 14.18  Events of the fpMask Control

EventDescription
AdvanceTriggers when a valid character is entered at the last position
ButtonHitTriggers when a button is pressed by the user
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ChangeModeTriggers when the user changes the edit mode between insert and overstrike
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidDataTriggers when the control contains invalid data
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button
UserErrorTriggers when an error occurs

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="fpMask1" WIDTH=187 HEIGHT=32

 CLASSID="CLSID:1211A3D5-B48E-101C-933E-0000C005958C">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="3951">

    <PARAM NAME="_ExtentY" VALUE="670">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="-2147483643">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="0">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="0">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="1">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="1">

    <PARAM NAME="ButtonDisable" VALUE="0">

    <PARAM NAME="ButtonHide" VALUE="0">

    <PARAM NAME="ButtonIncrement" VALUE="1">

    <PARAM NAME="ButtonMin" VALUE="0">

    <PARAM NAME="ButtonMax" VALUE="100">

    <PARAM NAME="ButtonStyle" VALUE="0">

    <PARAM NAME="ButtonWidth" VALUE="0">

    <PARAM NAME="ButtonWrap" VALUE="-1">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="0">

    <PARAM NAME="AllowNull" VALUE="0">

    <PARAM NAME="NoSpecialKeys" VALUE="0">

    <PARAM NAME="AutoAdvance" VALUE="0">

    <PARAM NAME="AutoBeep" VALUE="0">

    <PARAM NAME="CaretInsert" VALUE="0">

    <PARAM NAME="CaretOverWrite" VALUE="3">

    <PARAM NAME="UserEntry" VALUE="0">

    <PARAM NAME="HideSelection" VALUE="-1">

    <PARAM NAME="InvalidColor" VALUE="-2147483637">

    <PARAM NAME="InvalidOption" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="NullColor" VALUE="-2147483637">

    <PARAM NAME="OnFocusAlignH" VALUE="0">

    <PARAM NAME="OnFocusAlignV" VALUE="0">

    <PARAM NAME="OnFocusNoSelect" VALUE="0">

    <PARAM NAME="OnFocusPosition" VALUE="0">

    <PARAM NAME="ControlType" VALUE="0">

    <PARAM NAME="AllowOverflow" VALUE="0">

    <PARAM NAME="BestFit" VALUE="0">

    <PARAM NAME="ClipMode" VALUE="0">

    <PARAM NAME="DataFormat" VALUE="27715">

    <PARAM NAME="Mask" VALUE="###-##-####">

    <PARAM NAME="PromptChar" VALUE="_">

    <PARAM NAME="PromptInclude" VALUE="0">

    <PARAM NAME="RequireFill" VALUE="0">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="NoPrefix" VALUE="0">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="0">

    <PARAM NAME="BorderDropShadow" VALUE="0">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

    <PARAM NAME="AutoTab" VALUE="0">

</OBJECT>



</BODY>

</HTML>

fpMemo

The fpMemo is a text data-entry ActiveX control. This control can be used to give the user the ability to enter and retrieve large amounts of text data. In database applications, you always need some text entry, such as description and comments. In some applications, you might need to display and get from the user a large amount of text data. This control is useful in such circumstances. This control can be bound to memo fields in the back-end database.

Source

Vendor Information:

FarPoint Technologies, Inc.
http://www.fpoint.com
133 Southcenter Court, Suite 1000
Morrisville, NC 27560
(800) 645-4551
(919) 460-7606
Figure 14.8 : The fpMemo control

Properties

Table 14.19  Properties of the fpMemo Control

PropertyDescription
AllowNullTrue, to allow the user the capability to leave this control blank
AppearanceThe border look-flat, 3-D, and so on
AutoAdvanceTrue, to advance to the next control after pressing the Enter key
AutoBeepTrue, to sound the beep on user error
BackColorThe background color of the object
BorderColorThe object's border color
BorderDropShadowThe 3-D shadow for border-none, always, on focus
BorderDropShadowColorThe border 3-D shadow color
BorderDropShadowWidthThe border 3-D shadow width
BorderGrayAreaColorThe color of the gray area of the 3-D border
BorderStyleThe object's border style
BorderWidthThe object's border width
CaretInsertThe caret for the insert mode
CaretOverwriteThe overstrike mode caret
CodeBaseThe origin of the control, including the URL, file type, and version number
ControlTypeThe control UI mode-normal, read-only, static, button edit
DataChangedTrue, when the data is changed
DataFieldThe name of the bound column in the DataSource
DataSourceThe source of the database to be bound to this control
EnabledTrue, to set the control to get focus and respond to UI
FontThe font of the control caption
ForeColorThe foreground color of the object
HeightThe vertical height of the object
HideSelectionTrue, to highlight the selected characters even when the control loses focus
hWNDThe handle for the window
IDThe name of the object/control
LeftThe distance between the left edge of the control and the left edge of the HTML layout
LineLimitThe maximum number of lines allowed
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
NoSpecialKeysThe option for handling keyboard keys
NullColorThe background color when the control contains no value
OnFocusNoSelectFalse to select all the text in the control when this control gets focus
OnFocusPositionThe position of the cursor when this control gets focus
PageWidthThe width of the display page
ScrollBarsThe type of scroll bars displayed
SelBackColorThe background color for the selected text
SelForeColorThe foreground color for the selected text
SelModeThe selection mode-normal, line, or extended
ShowEOLShow the End-Of-Line character
ReDrawRepaint the control
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
ThreeDFrameColorThe color of the 3-D frame
ThreeDFrameWidthThe width of the 3-D frame
ThreeDInsideHighliteColorThe color for the inner border 3-D highlight
ThreeDInsideShadowColorThe color for the inner border 3-D shadow
ThreeDInsideStyleThe style for the inner border 3-D-none, lowered, raised
ThreeDInsideWidthThe width for the inner border 3-D
ThreeDOnFocusInvertTrue, to invert the 3-D when the control gets focus
ThreeDOutsideHighliteColor  The color for the outer border 3-D highlight
ThreeDOutsideShadowColorThe color for the outer border 3-D shadow
ThreeDOutsideStyleThe style for the outer border 3-D-none, lowered, raised
ThreeDOutsideWidthThe width for the outer border 3-D
TopThe distance between the top edge of the control and the top edge of the HTML layout
VisibleFalse, to hide the control
WidthThe width of the control in points
WordWrapTrue, to automatically wrap the lines

Method

Table 14.20  Method of the fpMemo Control

MethodDescription
AboutBoxDisplays the About dialog box

Events

Table 14.21  Events of the fpMemo Control

EventDescription
AdvanceTriggers when a valid character is entered at the last position
ButtonHitTriggers when a button is pressed by the user
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ChangeModeTriggers when the user changes the edit mode between insert and overstrike
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidDataTriggers when the control contains invalid data
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button
UserErrorTriggers when an error occurs

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>

    <OBJECT ID="fpMemo1" WIDTH=187 HEIGHT=83

     CLASSID="CLSID:A18D4665-91EF-101C-84A6-BA990A365A4E">

        <PARAM NAME="_Version" VALUE="131072">

        <PARAM NAME="_ExtentX" VALUE="3951">

        <PARAM NAME="_ExtentY" VALUE="1764">

        <PARAM NAME="_StockProps" VALUE="68">

        <PARAM NAME="BackColor" VALUE="-2147483643">

        <PARAM NAME="ForeColor" VALUE="-2147483640">

        <PARAM NAME="ThreeDInsideStyle" VALUE="0">

        <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

        <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

        <PARAM NAME="ThreeDInsideWidth" VALUE="1">

        <PARAM NAME="ThreeDOutsideStyle" VALUE="0">

        <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

        <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

        <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

        <PARAM NAME="ThreeDFrameWidth" VALUE="0">

        <PARAM NAME="BorderStyle" VALUE="1">

        <PARAM NAME="BorderColor" VALUE="-2147483642">

        <PARAM NAME="BorderWidth" VALUE="1">

        <PARAM NAME="AllowNull" VALUE="0">

        <PARAM NAME="NoSpecialKeys" VALUE="0">

        <PARAM NAME="AutoAdvance" VALUE="0">

        <PARAM NAME="AutoBeep" VALUE="0">

        <PARAM NAME="CaretInsert" VALUE="0">

        <PARAM NAME="CaretOverWrite" VALUE="3">

        <PARAM NAME="HideSelection" VALUE="-1">

        <PARAM NAME="NullColor" VALUE="-2147483637">

        <PARAM NAME="OnFocusNoSelect" VALUE="-1">

        <PARAM NAME="OnFocusPosition" VALUE="3">

        <PARAM NAME="ControlType" VALUE="0">

        <PARAM NAME="Text" VALUE="fpMemo1">

        <PARAM NAME="WordWrap" VALUE="-1">

        <PARAM NAME="ShowEOL" VALUE="0">

        <PARAM NAME="SelMode" VALUE="0">

        <PARAM NAME="LineLimit" VALUE="2147483647">

        <PARAM NAME="ScrollBars" VALUE="3">

        <PARAM NAME="PageWidth" VALUE="0">

        <PARAM NAME="SelBackColor" VALUE="-2147483635">

        <PARAM NAME="SelForeColor" VALUE="-2147483634">

        <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

        <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

        <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

        <PARAM NAME="Appearance" VALUE="0">

        <PARAM NAME="BorderDropShadow" VALUE="0">

        <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

        <PARAM NAME="BorderDropShadowWidth" VALUE="3">

    </OBJECT>

</BODY>

</HTML>

fpText

The fpText is a text data-entry ActiveX control. This control can be used to give the user the ability to enter and retrieve text data of length 255 characters or less.

Source

Vendor Information:

FarPoint Technologies, Inc.
http://www.fpoint.com
133 Southcenter Court, Suite 1000
Morrisville, NC 27560
(800) 645-4551
(919) 460-7606
Figure 14.9 : The fpText control

Properties

Table 14.22  Properties of the fpText Control

PropertyDescription
AlignTextHThe horizontal alignment of the text
AlignTextVThe vertical alignment of the text
AllowNullTrue, to allow the user the capability to leave this control blank
AppearanceThe border look-flat, 3-D, and so on
AutoAdvanceTrue, to advance to the next control after pressing the Enter key
AutoBeepTrue, to sound the beep on user error
AutoCaseThe type of case conversion for display-none, upper, lower, proper
BackColorThe background color of the object
BorderColorThe object's border color
BorderDropShadowThe 3-D shadow for border-none, always, on focus
BorderDropShadowColorThe border 3-D shadow color
BorderDropShadowWidthThe border 3-D shadow width
BorderGrayAreaColorThe color of the gray area of the 3-D border
BorderStyleThe object's border style
BorderWidthThe object's border width
ButtonDefaultActionTrue, to enable the default action for the spin button
ButtonDisableTrue, to disable the buttons on the control
ButtonHideTrue, to hide the buttons
ButtonIncrementThe value by which the button index will be increased or decreased
ButtonMaxThe upper limit for the button index
ButtonMinThe lower limit for the button index
ButtonStyleThe style of the button-none, spin, slide, and so on
ButtonWidthThe width of the button
ButtonWrapTrue, to reset the button index when it crosses the upper or lower limits
CaretInsertThe caret for the insert mode
CaretOverwriteThe overstrike mode caret
CharPositionLeftThe left index of the characters displayed
CharPositionRightThe right index of the characters displayed
CharValidationTextThe valid characters allowed
CodeBaseThe origin of the control, including the URL, file type, and version number
ControlTypeThe control UI mode-normal, read-only, static, button edit
CurrentPositionThe position of the cursor
DataChangedTrue, when the data is changed
DataFieldThe name of the bound column in the DataSource
DataSourceThe source of the database to be bound to this control
EnabledTrue, to set the control to get focus and respond to UI
FontThe font of the control caption
ForeColorThe foreground color of the object
HeightThe vertical height of the object
HideSelectionTrue, to highlight the selected characters even when the control loses focus
hWNDThe handle for the window
IDThe name of the object/control
IncHorizThe distance the cursor will be moved for slider button
InvalidColorThe background color when the data in the control is invalid
InvalidOptionAction for invalid data when the control loses focus-show data, hide data, clear data
IsNullTrue, if the control value is null
IsValidTrue, if the control contains a valid entry
LeftThe distance between the left edge of the control and the left edge of the HTML layout
MarginBottomThe bottom margin in pixels
MarginLeftThe left margin in pixels
MarginRightThe right margin in pixels
MarginTopThe top margin in pixels
MaxLengthThe maximum number of characters allowed
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
MultiLineTrue, to display the text in multiple lines
NoSpecialKeysOption for handling keyboard keys
NullColorThe background color when the control contains no value
OnFocusAlignHHorizontal alignment of the data in the control when it gets focus
OnFocusAlignVVertical alignment of the data in the control when it gets focus
OnFocusNoSelectFalse, to select all the text in the control when this control gets focus
OnFocusPositionThe position of the cursor when this control gets focus
PasswordCharThe mask character to appear
ScrollVTrue, to allow vertical scrolling
ReDrawRepaint the control
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
ThreeDFrameColorThe color of the 3-D frame
ThreeDFrameWidthThe width of the 3-D frame
ThreeDInsideHighliteColorThe color for the inner border 3-D highlight
ThreeDInsideShadowColorThe color for the inner border 3-D shadow
ThreeDInsideStyleThe style for the inner border 3-D-none, lowered, raised
ThreeDInsideWidthThe width for the inner border 3-D
ThreeDOnFocusInvertTrue, to invert the 3-D when the control gets focus
ThreeDOutsideHighliteColor  The color for the outer border 3-D highlight
ThreeDOutsideShadowColorThe color for the outer border 3-D shadow
ThreeDOutsideStyleThe style for the outer border 3-D-none, lowered, raised
ThreeDOutsideWidthThe width for the outer border 3-D
TopThe distance between the top edge of the control and the top edge of the HTML layout
UserEntryFormatted or free format
VisibleFalse, to hide the control
WidthThe width of the control in points
WordWrapTrue, to automatically wrap the lines

Method

Table 14.23  Method of the fpText Control

MethodDescription
AboutBoxDisplays the About dialog box

Events

Table 14.24  Events of the fpText Control

EventDescription
AdvanceTriggers when a valid character is entered at the last position
ButtonHitTriggers when a button is pressed by the user
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ChangeModeTriggers when the user changes the edit mode between insert and overstrike
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidDataTriggers when the control contains invalid data
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button
UserErrorTriggers when an error occurs

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="fpText1" WIDTH=135 HEIGHT=32

 CLASSID="CLSID:CDf3b180-D408-11CE-AE2C-0080C786E37D">

    <PARAM NAME="_Version" VALUE="131072">

    <PARAM NAME="_ExtentX" VALUE="2858">

    <PARAM NAME="_ExtentY" VALUE="670">

    <PARAM NAME="_StockProps" VALUE="68">

    <PARAM NAME="BackColor" VALUE="-2147483643">

    <PARAM NAME="ForeColor" VALUE="-2147483640">

    <PARAM NAME="ThreeDInsideStyle" VALUE="0">

    <PARAM NAME="ThreeDInsideHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDInsideShadowColor" VALUE="-2147483642">

    <PARAM NAME="ThreeDInsideWidth" VALUE="1">

    <PARAM NAME="ThreeDOutsideStyle" VALUE="0">

    <PARAM NAME="ThreeDOutsideHighlightColor" VALUE="-2147483628">

    <PARAM NAME="ThreeDOutsideShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDOutsideWidth" VALUE="1">

    <PARAM NAME="ThreeDFrameWidth" VALUE="0">

    <PARAM NAME="BorderStyle" VALUE="2">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderWidth" VALUE="1">

    <PARAM NAME="ButtonDisable" VALUE="0">

    <PARAM NAME="ButtonHide" VALUE="0">

    <PARAM NAME="ButtonIncrement" VALUE="1">

    <PARAM NAME="ButtonMin" VALUE="0">

    <PARAM NAME="ButtonMax" VALUE="100">

    <PARAM NAME="ButtonStyle" VALUE="0">

    <PARAM NAME="ButtonWidth" VALUE="0">

    <PARAM NAME="ButtonWrap" VALUE="-1">

    <PARAM NAME="ButtonDefaultAction" VALUE="-1">

    <PARAM NAME="ThreeDText" VALUE="0">

    <PARAM NAME="ThreeDTextHighlightColor" VALUE="-2147483633">

    <PARAM NAME="ThreeDTextShadowColor" VALUE="-2147483632">

    <PARAM NAME="ThreeDTextOffset" VALUE="1">

    <PARAM NAME="AlignTextH" VALUE="0">

    <PARAM NAME="AlignTextV" VALUE="0">

    <PARAM NAME="AllowNull" VALUE="0">

    <PARAM NAME="NoSpecialKeys" VALUE="0">

    <PARAM NAME="AutoAdvance" VALUE="0">

    <PARAM NAME="AutoBeep" VALUE="0">

    <PARAM NAME="AutoCase" VALUE="0">

    <PARAM NAME="CaretInsert" VALUE="0">

    <PARAM NAME="CaretOverWrite" VALUE="3">

    <PARAM NAME="UserEntry" VALUE="0">

    <PARAM NAME="HideSelection" VALUE="-1">

    <PARAM NAME="InvalidColor" VALUE="-2147483637">

    <PARAM NAME="InvalidOption" VALUE="0">

    <PARAM NAME="MarginLeft" VALUE="3">

    <PARAM NAME="MarginTop" VALUE="3">

    <PARAM NAME="MarginRight" VALUE="3">

    <PARAM NAME="MarginBottom" VALUE="3">

    <PARAM NAME="NullColor" VALUE="-2147483637">

    <PARAM NAME="OnFocusAlignH" VALUE="0">

    <PARAM NAME="OnFocusAlignV" VALUE="0">

    <PARAM NAME="OnFocusNoSelect" VALUE="0">

    <PARAM NAME="OnFocusPosition" VALUE="0">

    <PARAM NAME="ControlType" VALUE="0">

    <PARAM NAME="Text" VALUE="fpText1">

    <PARAM NAME="CharValidationText" VALUE="">

    <PARAM NAME="MaxLength" VALUE="255">

    <PARAM NAME="MultiLine" VALUE="0">

    <PARAM NAME="PasswordChar" VALUE="">

    <PARAM NAME="IncHoriz" VALUE="0.25">

    <PARAM NAME="BorderGrayAreaColor" VALUE="-2147483637">

    <PARAM NAME="NoPrefix" VALUE="0">

    <PARAM NAME="ScrollV" VALUE="0">

    <PARAM NAME="ThreeDOnFocusInvert" VALUE="0">

    <PARAM NAME="ThreeDFrameColor" VALUE="-2147483633">

    <PARAM NAME="Appearance" VALUE="0">

    <PARAM NAME="BorderDropShadow" VALUE="0">

    <PARAM NAME="BorderDropShadowColor" VALUE="-2147483632">

    <PARAM NAME="BorderDropShadowWidth" VALUE="3">

</OBJECT>



</BODY>

</HTML>

MhDateInput

The MhDateInput control is specifically aimed at date and time entry. This control has a lot of versatility and includes a built-in spin button for a user-friendly data input.

Source

Vendor information:

MicroHelp, Inc.
http://www.microhelp.com
4211 J.V.L Industrial Park Drive, NE
Marietta, GA 30066
(800) 922-3383
(770) 516-1099
> Figure 14.10 : The MhDateInput control

Properties

Table 14.25  Properties of the MhDateInput Control

PropertyDescription
AlignmentAlignment of the caption text
AllowBlankTrue, to allow blank entries
AutoHScrollTrue, to scroll automatically for entries that are longer than the control
BackColorThe background color of the object
BevelSizeThe 3-D bevel size in points
BevelColorThe color for the 3-D bevel
BorderColorThe object's border color
BorderStyleThe object's border style
CaretColorColor of the caret, the small current value pointer that points to the day number or month or year
CaretHeightThe height of the caret
CaretIntervalThe blink interval for the caret
CaretStyleThe style of the caret
CaretVAlignThe vertical alignment of the caret
CaretVisibleTrue, to display the caret
CaretWidthThe width of the caret
CodeBaseThe origin of the control, including the URL, file type, and version number
DateFormatThe format of the date display-normal, Julian, verbose, verbose with weekday, and so on
EnabledTrue, to set the control to get focus and respond to UI
FillColorThe background color
FocusSelectTrue, to select the entries when the control gets focus
FontThe font for the date display
ForeColorThe foreground color of the object
HeightThe vertical height of the object
hWNDThe handle for the window
IDThe name of the object/control
IntentThe pixels between the date and the control border
LanguageThe language code to display the date
LanguageNumberThe language number to display the date
LeftThe distance between the left edge of the control and the left edge of the HTML layout
LightColorThe light color for the control
MaxDay,MaxMonth,MaxYearThe upper limit for day, month, and year
MinDay,MinMonth,MinYearThe lower limit for day, month, and year
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
ReadOnlyTrue, to make the control non-edit
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
ShadowColorThe color for the shadow
SpinThe position of the spin button-left or right
SpinChangeThe delta or amount of change when the spin arrow is clicked
SpinDelayThe delay between the first click and start of the repeat
SpinSpeedThe delay between two consecutive spin activation
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
TextColorThe color of the date display
TopThe distance between the top edge of the control and the top edge of the HTML layout
UndoReverts to the last change made
ValignmentThe vertical alignment-top, bottom, center
VisibleFalse, to hide the control
WidthThe width of the control in points

Methods

Table 14.26  Methods of the MhDateInput Control

MethodDescription
AboutBoxDisplays the About dialog box
RefreshRepaints the control

Events

Table 14.27  Events of the MhDateInput Control

EventDescription
AutoTerminateTriggers when a valid character is entered at the last position
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ClickTriggers when a control is clicked with the mouse; also triggers when the user selects a value in a multi-value control such as the list box
DblClickTriggers when a control is double-clicked
InvalidEntryTriggers when the control has a value outside the minimum to maximum range
InvalidSetTextTriggers when invalid text is pasted into the control
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="MhDateInput1" WIDTH=252 HEIGHT=32

 CLASSID="CLSID:AFCBCE20-AAf2-11CE-85B2-00AA00575482">

    <PARAM NAME="_Version" VALUE="65536">

    <PARAM NAME="_ExtentX" VALUE="5339">

    <PARAM NAME="_ExtentY" VALUE="670">

    <PARAM NAME="_StockProps" VALUE="77">

    <PARAM NAME="BevelSize" VALUE="1">

    <PARAM NAME="Text" VALUE="Wednesday, November 27, 1996">

    <PARAM NAME="Spin" VALUE="2">

    <PARAM NAME="AutoHScroll" VALUE="-1">

    <PARAM NAME="FontStyle" VALUE="1">

    <PARAM NAME="CaretStyle" VALUE="1">

    <PARAM NAME="DateFormat" VALUE="3">

</OBJECT>

</BODY>

</HTML>

MhInput

The MhInput control is a general purpose data input control. The main advantage of this control is the formatted input functionality, such as phone numbers, Social Security numbers, ZIP codes, and so on. You can add more formatted inputs like credit card numbers or ID numbers specific to your application.

Source

Vendor information:

MicroHelp, Inc.
http://www.microhelp.com
4211 J.V.L Industrial Park Drive, NE
Marietta, GA 30066
(800) 922-3383
(770) 516-1099
Figure 14.11 : The MhInput control

Properties

Table 14.28  Properties of the MhInput Control

PropertyDescription
_TextThe string value in the control
AlignmentAlignment of the text in the control
BackColorThe background color of the object
BorderStyleThe object's border style
CaretInsertThe caret type during the insert mode
CaretOverstrikeThe caret type during the overstrike mode
CodeBaseThe origin of the control, including the URL, file type, and version number
DateFormatThe format of the date display-normal, Julian, verbose, verbose with weekday and so on
EnabledTrue, to set the control to get focus and respond to UI
FieldTypePreformatted field type-phone number, ZIP code, Social Security, and so on
FontThe font for the text display
ForeColorThe foreground color of the object
HeightThe vertical height of the object
hWNDThe handle for the window
IDThe name of the object/control
IntentThe pixels between the text and the control border
LeftThe distance between the left edge of the control and the left edge of the HTML layout
MaskThe input mask for data entry
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
MultiLineTrue, to allow multiple lines data entry
PassCharThe character mask that appears for password-type entries
PositionThe current position of the caret
RejectEnterTrue, to not pass a press of the Enter key (ASCII 13) to the control
ScrollBarsThe scroll bar display-none, vertical, horizontal, both
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
TextDefaultThe default text that appears when the control is initialized
TextLenThe maximum length of text allowed
TextRawThe string without any of the formatting characters
TopThe distance between the top edge of the control and the top edge of the HTML layout
UndoReverses the last change made
VisibleFalse, to hide the control
WidthThe width of the control in points
WordwrapTrue, to allow word wrap

Methods

Table 14.29  Methods of the MhInput Control

MethodDescription
AboutBoxDisplays the About dialog box
RefreshRepaints the control

Events

Table 14.30  Events of the MhInput Control

EventDescription
AutoTerminateTriggers when a valid character is entered at the last position
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="MhInput1" WIDTH=97 HEIGHT=32

 CLASSID="CLSID:16E88EE0-A62A-11CE-85B2-00AA00575482">

    <PARAM NAME="_Version" VALUE="65536">

    <PARAM NAME="_ExtentX" VALUE="2037">

    <PARAM NAME="_ExtentY" VALUE="662">

    <PARAM NAME="_StockProps" VALUE="77">

    <PARAM NAME="FieldType" VALUE="1">

    <PARAM NAME="Mask" VALUE="999 99 9999">

    <PARAM NAME="Text" VALUE="123-45-6789">

    <PARAM NAME="TextLen" VALUE="11">

    <PARAM NAME="CaretInsert" VALUE="1">

    <PARAM NAME="Indent" VALUE="0">

    <PARAM NAME="TextDefault" VALUE="   -  -    ">

    <PARAM NAME="TextRaw" VALUE="123456789">

</OBJECT>



</BODY>

</HTML>

Notes

There is a 50-character text limitation for this control.

IntInput

The IntInput control is specifically aimed at numeric data entry. This control has a lot of versatility and includes a built-in spin button for a user-friendly data input.

Source

Vendor information:

MicroHelp, Inc.
http://www.microhelp.com
4211 J.V.L Industrial Park Drive, NE
Marietta, GA 30066
(800) 922-3383
(770) 516-1099
Figure 14.12 : The IntInput control

Properties

Table 14.31  Properties of the IntInput Control

PropertyDescription
AlignmentAlignment of the number
AutoHScrollTrue, to scroll automatically for entries that are longer than the control
BackColorThe background color of the object
BevelSizeThe 3-D bevel size in points
BevelStyleThe style of the bevel-lowered, raised, chiseled, and so on
BorderColorThe object's border color
BorderStyleThe object's border style
CaretColorColor of the caret, the small current value pointer that points to the current digit
CaretHeightHeight of the caret
CaretIntervalThe blink interval for the caret
CaretStyleThe style of the caret
CaretVAlignThe vertical alignment of the caret
CaretVisibleTrue, to display the caret
CaretWidthThe width of the caret
CodeBaseThe origin of the control, including URL, file type, and version number
EnabledTrue, to set the control to get focus and respond to UI
FillColorThe background color
FocusSelectTrue, to select the entries when the control gets focus
FontThe font for the date display
FontStyleThe style of the font-none, raised, raised with more shading, lowered, lowered with more shading
ForeColorThe foreground color of the object
HeightThe vertical height of the object
hWNDThe handle for the window
IDThe name of the object/control
IntentThe pixels between the date and the control border
LeftThe distance between the left edge of the control and the left edge of the HTML layout
LightColorThe light color for the control
MaxThe upper limit for the number
MinThe lower limit for the number
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer displayed when the mouse is moved over the object
ReadOnlyTrue, to make the control non-editable
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
ShadowColorThe color for the shadow
SpinThe position of the spin button-left or right
SpinChangeThe delta or the amount of change when the spin arrow is clicked
SpinDelayThe delay between the first click and start of the repeat
SpinSpeedThe delay between two consecutive spin activations
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
TextColorThe color of the date display
TopThe distance between the top edge of the control and the top edge of the HTML layout
UndoReverses the last change made
VAlignmentThe vertical alignment-top, bottom, center
VisibleFalse, to hide the control
WidthThe width of the control in points

Methods

Table 14.32  Methods of the IntInput Control

MethodDescription
AboutBoxDisplays the About dialog box
RefreshRepaints the control

Events

Table 14.33  Events of the IntInput Control

EventDescription
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidEntryTriggers when the control has a value outside the minimum to maximum range
InvalidSetTextTriggers when an invalid text is pasted into the control
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, orfunction key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="MhIntInput1" WIDTH=100 HEIGHT=50

 CLASSID="CLSID:02B97C10-ED1E-11CD-A08B-00AA00575482">

    <PARAM NAME="_Version" VALUE="65536">

    <PARAM NAME="_ExtentX" VALUE="2117">

    <PARAM NAME="_ExtentY" VALUE="1058">

    <PARAM NAME="_StockProps" VALUE="77">

    <PARAM NAME="BevelSize" VALUE="2">

    <PARAM NAME="BorderColor" VALUE="-2147483640">

    <PARAM NAME="BorderStyle" VALUE="2">

    <PARAM NAME="Max" VALUE="100">

    <PARAM NAME="Min" VALUE="0">

    <PARAM NAME="Spin" VALUE="1">

    <PARAM NAME="AutoHScroll" VALUE="1">

    <PARAM NAME="FontStyle" VALUE="1">

    <PARAM NAME="CaretColor" VALUE="-2147483642">

    <PARAM NAME="CaretStyle" VALUE="2">

</OBJECT>

</BODY>

</HTML>

MhMaskedInput

The MhMaskedInput control is aimed at text entry with specific formats. This control has a lot of versatility and can be used for a user-friendly data input.

Source

Vendor information:

MicroHelp, Inc.
http://www.microhelp.com
4211 J.V.L Industrial Park Drive, NE
Marietta, GA 30066
(800) 922-3383
(770) 516-1099
Figure 14.13 : The MhMaskedInput control

Properties

Table 14.34  Properties of the MhMaskedInput Control

PropertyDescription
AlignmentAlignment of the caption text
AutoHScrollTrue, to scroll automatically for entries that are longer than the control
BackColorThe background color of the object
BevelSizeThe 3-D bevel size in points
BevelStyleThe style of the 3-D bevel
BorderColorThe object's border color
BorderStyleThe object's border style
CaretColorThe color of the caret, the small current value pointer
CaretHeightThe height of the caret
CaretIntervalThe blink interval for the caret
CaretStyleThe style of the caret
CaretVAlignThe vertical alignment of the caret
CaretVisibleTrue, to display the caret
CaretWidthThe width of the caret
CaseThe case conversion of the input value-mixed, upper, lower, proper
CMaskThe custom mask
CodeBaseThe origin of the control, including the URL, file type, and version number
EnabledTrue, to set the control to get focus and respond to UI
FillColorThe background color
FocusSelectTrue, to select the entries when the control gets focus
FontThe font for the date display
ForeColorThe foreground color of the object
HeightThe vertical height of the object
hWNDThe handle for the window
IDThe name of the object/control
IntentThe pixels between the date and the control border
INIFileThe INI file where the settings for this control are kept
LeftThe distance between the left edge of the control and the left edge of the HTML layout
LightColorThe light color for the control
MaskThe input mask for the text entry
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
ReadOnlyTrue, to make the control non-editable
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
ShadowColorThe color for the shadow
TabIndexThe object's tab order position in the HTML layout
TextThe date in the text format
TextColorThe color of the date display
TextDefaultThe default text displayed when the control is initialized
TextLengthThe maximum length of the text entry
TextRawThe entered text without and formatting characters and conversion
TopThe distance between the top edge of the control and the top edge of the HTML layout
UndoReverses the last change made
ValignmentThe vertical alignment-top, bottom, center
VisibleFalse, to hide the control
WidthThe width of the control in points

Methods

Table 14.35   Methods of the MhMaskedInput Control

MethodDescription
AboutBoxDisplays the About dialog box
RefreshRepaints the control

Events

Table 14.36  Events of the MhMaskedInput Control

EventDescription
AutoTerminateTriggers when a valid character is entered at the last position
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidEntryTriggers when the control has an invalid entry
InvalidSetTextTriggers when an invalid text is pasted into the control
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="MhMaskInput1" WIDTH=135 HEIGHT=43

 CLASSID="CLSID:39540F00-f4f8-11CE-86BA-00AA00A25549">

    <PARAM NAME="_Version" VALUE="65536">

    <PARAM NAME="_ExtentX" VALUE="2858">

    <PARAM NAME="_ExtentY" VALUE="917">

    <PARAM NAME="_StockProps" VALUE="77">

    <PARAM NAME="BevelSize" VALUE="2">

    <PARAM NAME="BevelStyle" VALUE="2">

    <PARAM NAME="BorderColor" VALUE="-2147483642">

    <PARAM NAME="BorderStyle" VALUE="2">

    <PARAM NAME="FillColor" VALUE="-2147483633">

    <PARAM NAME="LightColor" VALUE="-2147483628">

    <PARAM NAME="ShadowColor" VALUE="-2147483632">

    <PARAM NAME="TextColor" VALUE="-2147483630">

    <PARAM NAME="Text" VALUE="MhMaskInput1">

    <PARAM NAME="Indent" VALUE="2">

    <PARAM NAME="AutoHScroll" VALUE="-1">

    <PARAM NAME="CaretColor" VALUE="-2147483642">

    <PARAM NAME="CaretVisible" VALUE="-1">

    <PARAM NAME="VAlignment" VALUE="0">

    <PARAM NAME="INIFile" VALUE="mhmask.ini">

    <PARAM NAME="CharMaskMax" VALUE="-1">

    <PARAM NAME="CaseProperMax" VALUE="-1">

</OBJECT>

</BODY>

</HTML>

Notes

This control can also be used with mixed-case formatting.

MhRealInput

The MhRealInput control is specifically aimed at numeric data entry. This control has a lot of versatility and includes a built-in spin button for a user-friendly data input.

Source

Vendor information:

MicroHelp, Inc.
http://www.microhelp.com
4211 J.V.L Industrial Park Drive, NE
Marietta, GA 30066
(800) 922-3383
(770) 516-1099
Figure 14.14 : The MhRealInput control

Properties

Table 14.37  Properties of the MhRealInput Control

PropertyDescription
AlignmentAlignment of the number
AutoHScrollTrue, to scroll automatically for entries that are longer than the control
BackColorThe background color of the object
BevelSizeThe 3-D bevel size in points
BevelStyleThe style of the bevel-lowered, raised, chiseled, and so on
BorderColorThe object's border color
BorderStyleThe object's border style
CaretColorThe color of the caret, the small current value pointer that points to the current digit
CaretHeightThe height of the caret
CaretIntervalThe blink interval for the caret
CaretStyleThe style of the caret
CaretVAlignThe vertical alignment of the caret
CaretVisibleTrue, to display the caret
CaretWidthThe width of the caret
CodeBaseThe origin of the control, including the URL, file type, and version number
DecimalPlacesThe number of decimal places
EnabledTrue, to set the control to get focus and respond to UI
FillColorThe background color
FocusSelectTrue, to select the entries when the control gets focus
FontThe font for the number display
FontStyleThe style of the font-none, raised, raised with more shading, lowered, lowered with more shading
ForeColorThe foreground color of the object
HeightThe vertical height of the object
hWNDThe handle for the window
IDThe name of the object/control
IntentThe pixels between the date and the control border
LeftThe distance between the left edge of the control and the left edge of the HTML layout
LightColorThe light color for the control
MaxRealThe upper limit for the number
MinRealThe lower limit for the number
MoneyFormatTrue, to set the currency format
MouseIconThe image that appears when the mouse is moved over the object
MousePointerThe mouse pointer that appears when the mouse is moved over the object
ReadOnlyTrue, to make the control non-edit
SelLengthThe number of characters selected
SelStartThe starting/insertion point of selection
SelTextThe character string selected by the user
SeparatorThe separator character, usually ","
ShadowColorThe color for the shadow
SpinThe position of the spin button-left or right
SpinChangeRealThe delta or the amount of change when the spin arrow is clicked
SpinDelayThe delay between the first click and start of the repeat
SpinSpeedThe delay between two consecutive spin activations
TabIndexThe object's tab order position in the HTML layout
TextThe number in the text format
TextColorThe color of the number display
TopThe distance between the top edge of the control and the top edge of the HTML layout
UndoReverses the last change made
VAlignmentThe vertical alignment-top, bottom, center
ValueRealThe number in the control
VisibleFalse, to hide the control
WidthThe width of the control in points

Methods

Table 14.38  Methods of the MhRealInput Control

MethodDescription
AboutBoxDisplays the About dialog box
RefreshRepaints the control

Events

Table 14.39  Events of the MhRealInput Control

EventDescription
ChangeTriggers when the value of a control changes by either the UI or programmatically; use this event handler to synchronize data between controls
ClickTriggers when a control is clicked with the mouse
DblClickTriggers when a control is double-clicked
InvalidEntryTriggers when the control has a value outside the minimum to maximum range
InvalidSetTextTriggers when an invalid text is pasted into the control
KeyDownTriggers when a user presses a control, navigation, or function key
KeyPressTriggers when a key is either pressed by the user or sent from the SendKeys function
KeyUpTriggers when a user releases a control, navigation, or function key
MouseDownTriggers when a user presses a mouse button
MouseMoveTriggers when the user moves the mouse
MouseUpTriggers when a user releases a mouse button

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>



<OBJECT ID="MhRealInput1" WIDTH=100 HEIGHT=32

 CLASSID="CLSID:0f1f1505-C40A-101B-AD04-00AA00575482">

    <PARAM NAME="_Version" VALUE="65536">

    <PARAM NAME="_ExtentX" VALUE="2117">

    <PARAM NAME="_ExtentY" VALUE="670">

    <PARAM NAME="_StockProps" VALUE="77">

    <PARAM NAME="BevelStyle" VALUE="3">

    <PARAM NAME="Text" VALUE="10000.000000">

    <PARAM NAME="MaxReal" VALUE="10000">

    <PARAM NAME="MinReal" VALUE="0">

    <PARAM NAME="Spin" VALUE="2">

    <PARAM NAME="CaretColor" VALUE="-2147483642">

    <PARAM NAME="MoneyFormat" VALUE="-1">

</OBJECT>

</BODY>

</HTML>

Notes

A good control for quantity and currency inputs.

Crystal Report Engine

The Crystal Report Engine gives you the flexibility to add ad hoc reporting capability to your applications. The reporting can be as simple as point-and-shoot printed reports or as complex as a fully user-configurable online report viewer.

Source

Vendor Information;

Seagate Software Information Management Group, Inc.
http://www.img.seagatesoftware.com
3873 Airport Way, P.O. Box 9754,
Bellingham, WA USA 98227-9754
(800) 663-1244
(604) 681-2934
This is a back-end ActiveX control and, hence, has no GUI.

Properties

Table 14.40  Properties of the Crystal Report Engine

PropertyDescription
BoundReportFooterThe footer for the report
BoundReportHeadingThe heading for the report
CodeBaseThe origin of the control, including the URL, file type, and version number
ConnectConnects to the data source
CopiesToPrinterThe number of copies when the destination is printer
DataFilesAn array containing the data source file names
DataSourceThe bound data control
DestinationThe destination of the report-To Window, To Printer,
To File 
FormulasAn array containing the formulas used in the reports
GroupSelectionFormula A formula to limit the group of records included in the report
GroupSortFieldsThe sort fields
LastErrorNumberThe error number of the last error encountered
HeightThe vertical height of the object
IDThe name of the object/control
LeftThe distance between the left edge of the control and the left edge of the HTML layout
PrintFileNameThe file name when the destination is a file
PrintFileTypeRecord, Tab Separated, DIF, CSV, and so on
ReportFileNameThe name of the report definition file
ReportSourceThe source for the report; selected files as defined in the report definition file or all files in the data source
SelectionFormulaThe record selection formula
TopThe distance between the top edge of the control and the top edge of the HTML layout
UserNameThe user name for access database
WidthThe width of the control in points

Methods

Table 14.41  Methods of the Crystal Report Engine

MethodDescription
AboutBoxDisplays the About dialog box
PrintReportPrints the report control

Events

There are no events for the Crystal Report Engine.

Example


<HTML>

<HEAD>

<TITLE>New Page</TITLE>

</HEAD>

<BODY>

<OBJECT ID="CrystalReport1" WIDTH=28 HEIGHT=28

 CLASSID="CLSID:00025601-0000-0000-C000-000000000046">

    <PARAM NAME="_ExtentX" VALUE="593">

    <PARAM NAME="_ExtentY" VALUE="593">

    <PARAM NAME="_StockProps" VALUE="0">

    <PARAM NAME="ReportFileName" VALUE="">

    <PARAM NAME="Destination" VALUE="0">

    <PARAM NAME="WindowLeft" VALUE="100">

    <PARAM NAME="WindowTop" VALUE="100">

    <PARAM NAME="WindowWidth" VALUE="490">

    <PARAM NAME="WindowHeight" VALUE="300">

    <PARAM NAME="WindowTitle" VALUE="">

    <PARAM NAME="WindowBorderStyle" VALUE="2">

    <PARAM NAME="WindowControlBox" VALUE="-1">

    <PARAM NAME="WindowMaxButton" VALUE="-1">

    <PARAM NAME="WindowMinButton" VALUE="-1">

    <PARAM NAME="CopiesToPrinter" VALUE="1">

    <PARAM NAME="PrintFileName" VALUE="">

    <PARAM NAME="PrintFileType" VALUE="0">

    <PARAM NAME="SelectionFormula" VALUE="">

    <PARAM NAME="GroupSelectionFormula" VALUE="">

    <PARAM NAME="Connect" VALUE="">

    <PARAM NAME="UserName" VALUE="">

    <PARAM NAME="ReportSource" VALUE="0">

    <PARAM NAME="BoundReportHeading" VALUE="">

    <PARAM NAME="BoundReportFooter" VALUE="0">

</OBJECT>

</BODY>

</HTML>

Notes

The Crystal Report Engine is part of a group of products from Seagate Software aimed at flexible reporting and querying functions. The products are positioned as workgroup-decision support applications and are rightfully so.

Another related product from Seagate Software is the CrystalINFO, which has all the features required to design, develop, and deploy report (online, offline, or both) generating client/server applications. Because it can connect to a variety of databases, including MS SQL Server, Sybase, Oracle, and Btrieve, the CrystalINFO product can be used to access data from legacy and other applications.