www.pudn.com > advtext.zip > Form1.frm
VERSION 5.00
Object = "*\AAdvTextControl.vbp"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
Begin VB.ComboBox Combo1
Height = 315
Left = 840
TabIndex = 1
Text = "Combo1"
Top = 1920
Width = 2415
End
Begin AdvTextControl.AdvText AdvText1
Height = 375
Left = 840
TabIndex = 0
Top = 840
Width = 2295
_ExtentX = 4048
_ExtentY = 661
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
MaxLength = 64
Datatype = 3
ConvertToCapital= -1 'True
Message = "Hai Every Body"
ConvertEnter = -1 'True
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
With AdvText1
'Only alphabetical characters allowed
.DataType = Alpha
'Entry must be A, B, C, D, or E
'Nothing else permitted
.CheckIn = "A;B;C;D;E;F;G"
.LookUp = True
'All text converted to caps
.ConvertToCapital = True
'No empty entries allowed
.AllowNull = False
'Warned with Message Box on invalid entries
.WarningType = MessageBox
'Message on invalid entries
.Message = "Invalid Entry"
'Enter key functions as tab
.ConvertEnter = True
End With
End Sub