Quick Find: Search for:

 Total Access Components
Control Tour

Return to Components Home
 

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

About Box

AVI (Video)

Bitmap Effects

Border
Browse for Folder New!
CD Player
Clipboard
Clock
Common Dialogs
Date Time Picker New!
Digital Display
Enhanced Button
Gauge
Icon Menu
INI File
Marquee
Notes
Popup Menu
Progress Meter
Registry
Resize
Slider
Spin Button
Splitter
System Info
Tab Strip
Text Effects
Timer
Wave
 

 

Total Access Components Tour: Digital Display

The Digital Display control is a databound control that allows you to place digital format numbers on a form. This format is similar to the appearance of the displays on calculators and other electronic devices. A variety of formatting options are available, giving you complete control over the presentation.


Using the Digital Display Control

To use this control, simply place it on the form and set its Value property. You can set this property using the Property Sheet, or through VBA code. You can also select the alignment. If you select the default Left alignment, all characters are displayed from left to right. If you want the Digital display to show characters from right to left (like most calculators), set the Alignment property to “Right”.

Displaying Alphabetic Characters

Each digit in the Digital Display control is made up of eight segments. These segments are enabled or disabled to display the numbers. You may also use alphabetic (a-z) characters in the Value property of this control. Since all letters cannot be represented with eight segments, some letters may not appear correctly. The following letters are properly displayed:

A,B,b,C,c,D,d,E,F,g,H,h,I,i,J,L,l,N,n,O,o,P,R,r,S,U,u,Y,Z

Displaying Other Characters

The Digital Display control also displays some other useful characters. The following other characters are properly displayed: + - . ,

Digital Display Properties

Name

Description

Alignment The alignment of the text in the Digital Display.
BackColor The background color of the control.
ForeColor The color the Digital Display.
Value The text to display in the Digital Display.

Digital Display Events

Name

Description

Click Fires when the mouse is clicked over the control.
DblClick Fires when the mouse is double clicked over the control.
KeyDown Fires when a key is depressed.
KeyPress Fires when a key is pressed.
KeyUp Fires when a key is released.
MouseDown Fires when a mouse button is depressed over a control.
MouseMove Fires when the mouse moves over the control.
MouseUp Fires when a mouse button is released over a control.

 

Contact Us  l   Web questions: Webmaster   l   Copyright © 2008 FMS, Inc.

Celebrating 22 Years of Software Excellence