?
Solved

MaskEDbox help

Posted on 1998-04-15
5
Medium Priority
?
203 Views
Last Modified: 2008-02-20
dear sir,

l just know how to use the MaskEDbox to read the value,but is it possible to give and display the value on MaskEDbox control ?consider following example, 123 will be display on textbox control, what about MaskEDbox ?

text1 = 123

from: Eddie
godace@rocketmail.com
0
Comment
Question by:EddieAng
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1461282
I'm sorry, but I'm not understanding your question.
Please be more specific.
0
 
LVL 5

Accepted Solution

by:
bin_huwairib earned 0 total points
ID: 1461283
Yes EddieAng you can display the value on MaskEDbox.

Example:
MaskEdBox1 = 123
0
 

Author Comment

by:EddieAng
ID: 1461284
Bin huwairib,

but if l setted the mask = "##-##" then it would be error, is it not support the mask on output ?consider the following code.

'first of all, l setted the mask ="###-###"
'then give the value to display

maskedbox1=123456
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1461285
OK, now I understand.

Set the property PromptInclude = False

You can then assign values using the text property:

MaskEdBox1.Mask = "### ###"
MaskEdBox1.PromptInclude = False
MaskEdBox1.Text = 12345

Will Produce the following results:
123 45_
0
 

Author Comment

by:EddieAng
ID: 1461286
yes it is worked, thank everyone !
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question