Solved

aligning text in msmasked box

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

739 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