Solved

aligning text in msmasked box

Posted on 1998-03-10
1
265 Views
Last Modified: 2010-08-05
Anyone out there knowing how to center or right aling text (ex.:   1.25) without having to
 use «_» as literal in the prompt char field?

There is one routine that permits to right align currency without using literals but when
the control looses focus it automatically re-align itself to the of the maskedbox.

How do I prevent that ? (I want the text to stay right align when I move to the next
maskedbox !)

Thanks for the help


elphege
0
Comment
Question by:sympatico
1 Comment
 
LVL 1

Accepted Solution

by:
Anita030598 earned 100 total points
ID: 1458801
I Don't know how the prompt char helps in aligning. But I know for Currency, setting the Format Property to
$#,##0.00;($#,##0.00) will give the right alignment as well.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now