122 |
ImageSize property on 32 (specifies the size of control' icons)
|
121 |
ImageSize property on 16 (specifies the size of control' icons)
|
120 |
Is it possible to add leading-zero for masking floating points
|
119 |
How can I show the full mask if the field is empty and gets the focus
|
118 |
How can I mask a date (keep leading zeroes always visible) (method 4)
|
117 |
How can I mask a date (keep leading zeroes always visible) (method 3)
With MaskEdit1 .Mask = "!00/00/0000;;0;select=4,empty,overtype" .Text = #1/2/2001# .Warning = "Invalid character!" .Invalid = "Invalid date!" .ValidateAs = 1 End With |
116 |
How can I mask a date (method 2)
With MaskEdit1 .SelectGotFocus = 4 .Mask = "!99/99/9999;; ;select=4,overtype" .Text = #1/2/2001# .Warning = "Invalid character!" .Invalid = "Invalid date!" .ValidateAs = 1 .AllowEmptyValue = True End With |
115 |
How can I make the field to support empty values (method 2)
|
114 |
How can I make the field to support empty values (method 1)
With MaskEdit1 .SelectGotFocus = 1 .AllowEmptyValue = True .Mask = "!(999) 000 0000" .TextIncludeLiterals = 2 End With |
113 |
How do I get the value with no double quoted strings
' Change event - Fired while the user changes the control's text. Private Sub MaskEdit1_Change() With MaskEdit1 Debug.Print( .Value(3) ) End With End Sub With MaskEdit1 .Mask = "`IP address is `{0,255}\.{0,255}\.{0,255}\.{0,255}" .MaskChar = 48 .SelectGotFocus = 1 .Text = "1.2.3.4" End With |
112 |
How can I mask a RGB color
|
111 |
I noticed that an empty field is validated. Can this be changed
' ValidateValue event - Validates the field's value, once the user leaves the field. Private Sub MaskEdit1_ValidateValue(ByVal NewValue As Variant,Cancel As Boolean) With MaskEdit1 Cancel = True End With End Sub With MaskEdit1 .Invalid = "The value you entered isn't appropriate for the input mask <b>'<%mask%>'</b> specified for this field." .Mask = "!(999) 000-0000" .SelectGotFocus = 4 .InsertMode = 1 End With |
110 |
How can I play a beep when the user enters inappropriate value for the field, instead displaying the tooltip
With MaskEdit1 .Invalid = " " .Mask = "!(999) 000-0000" .SelectGotFocus = 4 .InsertMode = 1 .Text = "123-4567" .AllowBeep = True End With |
109 |
How can I restrict the data input until the user enters appropiate value (method 2)
With MaskEdit1 .Invalid = "The value you entered isn't appropriate for the input mask <b>'<%mask%>'</b> specified for this field." .Mask = "!(999) 000-0000" .SelectGotFocus = 4 .InsertMode = 1 .Text = "123-4567" End With |
108 |
How can I restrict the data input until the user enters appropiate value (method 1)
With MaskEdit1 .Mask = "!(999) 000-0000;;;invalid=The value you entered isn't appropriate for the input mask <b>'<%mask%>'</b> specified for this field" & _ "." .SelectGotFocus = 4 .InsertMode = 1 .Text = "123-4567" End With |
107 |
How do I set the control's field from right to left
With MaskEdit1 .Mask = "`Phone: `!(999) 000 0000" .SelectGotFocus = 2 .Text = "8450287" End With |
106 |
How can I specify multiple masks
|
105 |
How can I mask a date (method 1, limit date)
With MaskEdit1 .SelectGotFocus = 1 .Mask = "{1,12}/{1,31}/{1950,2015}" .Text = #1/2/2001# .Warning = "Invalid character!" .Invalid = "Invalid date!" .ValidateAs = 1 End With |
104 |
How can I mask a medium time (method 3)
|
103 |
How can I mask a medium time (method 2)
|
102 |
How can I mask a medium time (method 1)
|
101 |
How can I mask a short time (method 2)
|
100 |
How can I mask a short time (method 1)
|
99 |
How can I mask a long time (method 3)
|
98 |
How can I mask a long time (method 2)
|
97 |
How can I mask a long time (method 1)
|
96 |
How can I mask a password
|
95 |
How can I mask an extension
|
94 |
How can I mask a zip code
|
93 |
How can I mask a social security number
|
92 |
How can I mask a phone number
|
91 |
How can I mask a binary number (method 2)
With MaskEdit1 .SelectGotFocus = 2 .Mask = "[01][01][01][01][01][01][01][01];;0;overtype" .TextIncludeLiterals = 2 .Text = "001" .Warning = "Invalid character" End With |
90 |
How can I mask a binary number (method 1)
With MaskEdit1 .SelectGotFocus = 2 .Mask = "[01][01][01][01][01][01][01][01]" .TextIncludeLiterals = 2 .Text = "001" .Warning = "Invalid character" End With |
89 |
How can I mask a hexa number (method 2)
With MaskEdit1 .SelectGotFocus = 2 .Mask = "»[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F];;0;overtype" .TextIncludeLiterals = 2 .Text = "00f" .Warning = "Invalid character" End With |
88 |
How can I mask a hexa number (method 1)
With MaskEdit1 .SelectGotFocus = 2 .Mask = "»[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]" .TextIncludeLiterals = 2 .Text = "00f" .Warning = "Invalid character" End With |
87 |
How do I mask an integer number
|
86 |
How do I mask a decimal point number, including grouping of digits
|
85 |
How can I mask an email address
|
84 |
How can I mask an URL address
|
83 |
How can I mask an IP addresse
|
82 |
How can I mask a license key
|
81 |
How can I specify the accepted characters only, converted to lowercase
|
80 |
How can I specify the accepted characters only, converted to uppercase
|
79 |
How can I specify the accepted characters only
|
78 |
How can I input a number with lower and upper margins
|
77 |
How can I mask an url
|
76 |
How can I enter any characters combinations, converted to lowercase
|
75 |
How can I enter any characters combinations, converted to uppercase
|
74 |
How can I enter any characters combinations
|
73 |
How can I enter any letter, converted to lowercase (entry required) (method 2)
|
72 |
How can I enter any letter, converted to lowercase (entry required) (method 1)
|
71 |
How can I enter any letter, converted to uppercase (entry required) (method 2)
|
70 |
How can I enter any letter, converted to uppercase (entry required) (method 1)
|
69 |
How can I enter any character or a space (entry optional)
|
68 |
How can I enter any character or a space (entry required)
|
67 |
How can I enter any letter or space (entry optional)
|
66 |
Is it possible to display the field with no masking or placeholders, when it has no focus
|
65 |
I have the mask starting with literals, is it possible to assign the text on editable part only, when calling the Text property
With MaskEdit1 .SelectGotFocus = 2 .Mask = "`Upper Hexa [0-9a-fA-F]: `»[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]" .TextIncludeLiterals = 2 .Text = "09af" .Warning = "Invalid character" End With |
64 |
How can I enter a proper name, so the first letter to be upper, rest lower, and so on
|
63 |
How can I enter the first letter converted to upercase, and anything else after as typed (proper)
|
62 |
How can I enter the first letter converted to upercase, and anything else after in lowercase (proper)
|
61 |
How can I enter any letter (entry require)
|
60 |
How can I enter any letter, digit, converted to lowercase (entry required)
|
59 |
How can I enter any letter, digit, converted to uppercase (entry required)
|
58 |
How can I enter any letter, digit (entry required)
|
57 |
How can I enter a hexa character, converted to lower, [0-9a-fA-F] ( entry required )
|
56 |
How can I enter a hexa character, converted to upper, [0-9a-fA-F] ( entry required )
|
55 |
How can I enter an upper case hexa character, [0-9],[A-F] ( entry required )
|
54 |
How can I enter a lower case hexa character, [0-9],[a-f] ( entry required )
|
53 |
How can I enter a digit or space (entry not required; plus and minus signs not allowed)
|
52 |
How can I enter a digit (0 through 9, entry required; plus [+] and minus [-] signs not allowed)
|
51 |
How can I enter a digit, +, - or space (entry not required)
|
50 |
How can I add more literals at once (method 2)
|
49 |
How can I add more literals at once (method 1)
|
48 |
Is it possible to change the control's border, using your EBN objects
With MaskEdit1 .VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn" .Appearance = 16777216 ' &H1000000 .Warning = "Invalid character" .Mask = "`Time: ` 00:00:00" End With |
47 |
How can I get the value as it is displayed
' Change event - Fired while the user changes the control's text. Private Sub MaskEdit1_Change() With MaskEdit1 Debug.Print( .Text ) End With End Sub With MaskEdit1 .Mask = "00:00:00;;;overtype" .Text = "12" End With |
46 |
How can I get the just typed and accepted characters from the field
' Change event - Fired while the user changes the control's text. Private Sub MaskEdit1_Change() With MaskEdit1 Debug.Print( .Value(2) ) End With End Sub With MaskEdit1 .Mask = "00:00:00;;;overtype" .Text = "12" End With |
45 |
How can I get the value with no masking or placeholder character
' Change event - Fired while the user changes the control's text. Private Sub MaskEdit1_Change() With MaskEdit1 Debug.Print( .Value(1) ) End With End Sub With MaskEdit1 .Mask = "00:00:00;;;overtype" .Text = "12" End With |
44 |
How can I change the masking or placeholder character (method 2)
|
43 |
How can I change the masking or placeholder character (method 1)
|
42 |
Can I use your overtype mode in a multi-line control
|
41 |
Is it possible to show the control's content with a different color, while the control's content is not valid
With MaskEdit1 .Mask = "`Phone: `!(999) 000 0000" .SelectGotFocus = 2 .Text = "8450287" .ForeColorRich = RGB(255,0,0) .Type = 1 End With |
40 |
How can I select the empty and editable entity, when the control got the focus (method 1)
|
39 |
How can I select the empty and editable entity, when the control got the focus (method 1)
|
38 |
How can I select the entire text, when the control got the focus (method 2)
|
37 |
How can I select the entire text, when the control got the focus (method 1)
|
36 |
Does your control support subscript or superscript, in HTML tooltips
|
35 |
How can I change the font on the control's tooltip
|
34 |
How can I display any picture on the field's tooltip
With MaskEdit1 .HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif" .Warning = "<img>pic1</img> Invalid character" .Mask = "`Time: ` 00:00:00" End With |
33 |
How can I display any icon on the field's tooltip
With MaskEdit1 .Images "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _ "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _ "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _ "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=" .Warning = "<img>1</img> Invalid character" .Mask = "`Time: ` 00:00:00" End With |
32 |
How can I change the visual appearance of the tooltip shown when user pressed an invalid character (Method 2)
With MaskEdit1 .Background(65) = RGB(0,0,255) .Background(66) = RGB(255,255,0) .Warning = "Invalid character" .Mask = "`Time: ` 00:00:00" End With |
31 |
How can I change the visual appearance of the tooltip shown when user pressed an invalid character (Method 1)
With MaskEdit1 .VisualAppearance.Add 1,"c:\exontrol\images\normal.ebn" .Background(64) = &H1000000 .Warning = "Invalid character" .Mask = "`Time: ` 00:00:00" End With |
30 |
Is it possible to show a message when the user enters an invalid character ( method 2 )
|
29 |
Is it possible to show a message when the user enters an invalid character ( method 1 )
|
28 |
Is it possible to play a beep/sound when user enters an invalid character ( method 2 )
|
27 |
Is it possible to play a beep/sound when user enters an invalid character ( method 1 )
With MaskEdit1 .AllowBeep = True .Mask = "`Time: ` 00:00:00" End With |
26 |
How can I prevent showing the field's content menu when the user right clicks the control ( method 2 )
|
25 |
How can I prevent showing the field's content menu when the user right clicks the control ( method 1 )
With MaskEdit1 .AllowContextMenu = False .Text = "text" End With |
24 |
Is it possible to let user choose the inserting mode, when he presses Insert key ( method 2.2 )
|
23 |
Is it possible to let user choose the inserting mode, when he presses Insert key ( method 2.1 )
|