Solved

aligning text in msmasked box

Posted on 1998-03-10
1
264 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

708 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

19 Experts available now in Live!

Get 1:1 Help Now