Class


Learn Visual Basic 6.0

10. Other Visual Basic Topics

Review and Preview

Custom Controls

Masked Edit Control

0x01 graphic

Mask Determines the type of information that is input into the control. It uses characters to define the type of input (see on-line help for complete descriptions).

Text Contains data entered into the control (including all prompt characters of the input mask).

Change Event called when the data in the control changes.

Validation Error Event called when the data being entered by the user does not match the input mask.

We'll use the masked edit control to obtain a phone number. Place a masked edit control on a form. Set the masked edit controls Mask property equal to:

(###)-###-####

Set the Font Size property to 12. My form now looks like this:

0x01 graphic

Run the example and notice how simple it is to fill in the phone number. Break the application and examine the Text property of the control in the Immediate Window.

Chart Control


Wyszukiwarka


Podobne podstrony:
Dawning Star Terraformer 01 Daybringer Prestige Class
Matlab Class Chapter 1
Matlab Class Chapter 6
Matlab Class Chapter 4
Class 8
Monarchy vs Republic class discussion
homework class II for Sep21
W12 CLASS MANG WORK FORMS
BP4078 Class D Audio Power Amplifier
Class management ćwiczenia?
L26 Speaking Roleplay Class reunion
Class 1
Politically neutral or not class discussion
AGH class 6 15 TD 6 Eng Supply?vices
AGH class 3 15 TD 3 Eng Operational amplifier Elektronika Analogowa AGH
British Civilisation Class 7 British newspapers homework
Iron Kingdoms Prestige Class Intelligence Liaison (Spy)

więcej podobnych podstron