Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

aligning text in msmasked box

Posted on 1998-03-10
1
Medium Priority
?
280 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 300 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

783 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