Object Model > True DBInput 8.0 Objects and Collections > Dependent ActiveX Objects and Collections |
A dependent object is one that is not created explicitly by the programmer, but is exposed by a createable object or control. Depending on which controls have been added to a project, the following True DBInput objects may also be available:
AttribStyle |
Sets text character attributes such as bold, underline, and color. |
Calculator |
Provides a dropdown calculator at run time. |
Calendar |
Provides a dropdown calendar for entering dates at run time. |
Caption |
Eliminates the need to provide a separate Label control for each field. |
Child |
Provides the ability to apply 3-D effects (defined with the Effect object) to individual child controls placed within a container. |
Day |
Created when a new holiday or workday is added to a HolidayStyle object. |
DropDown |
Object used to manipulate a dropdown calendar, calculator, or text entry window. |
DSTStyle |
Sets the Daylight Savings Time attributes such as start day, end day, and so on. |
Effect |
Provides professional looking user-defined 3D effects, including inner and outer bevels, shadow settings, and so on. |
HolidayStyle |
Sets up holidays, forces holidays as workdays, and determines other holiday attributes. |
Key |
Determines the shortcut keys to be used in the control. |
Spin |
Allow you to add a spin-up and spin-down button to increment and decrement date entry. |
StyleSet |
Sets style attributes such as background color, 3D effects, text alignment, and more. |
Weekday |
Holds attribute settings for weekdays, such as background color, text color, caption, and so on. |
A collection is a special type of object used to group similar data items such as holidays, or visual objects, such as styles. In general, a group of similar items in True DBInput is implemented as a collection. Since a collection is an object, you can manipulate it in code just as you would any other object.
Depending on which controls have been added to a project, the following True DBInput collections may also be available:
AttribStyles |
Contains zero or more AttribStyle objects. |
Children |
Contains zero or more Child objects. |
Days |
Contains zero or more Day object. |
DSTStyles |
Contains zero or more DSTStyle objects. |
Effects |
Contains zero or more Effect objects. |
HolidayStyles |
Contains zero or more HolidayStyle objects. |
Selections |
Consists of multiple dates selected in the Calendar control. |
StyleSets |
Contains zero or more StyleSet objects. |