|
-
Jul 4th, 2003, 05:07 AM
#1
Thread Starter
Hyperactive Member
Mask Edit Box
I am using MaskEdibBox in my form and i placed mask like 9.999
when i want to retrieve data from table in MaskEditBox vb generates error if digists quantity is different. for example, data saved is 1.2 , and also mask edit box does not display value 9
kindly tell me how i should program with numeric inputs box
-
Jul 5th, 2003, 11:18 AM
#2
When setting the Text property, if the PromptInclude property is True, you must specify all characters. For example, using your sample, MaskEdBox1.Text = "1.2__".
That is more trouble than it is worth so set the property to False before setting the Text value and set it back afterwards.
MaskEdBox1.PromptInclude = False
MaskEdBox1.Text = "1.2"
MaskEdBox1.PromptInclude = True
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|