[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

MaskEDbox help

Posted on 1998-04-15
5
Medium Priority
?
204 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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

656 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