PDA

Click to See Complete Forum and Search --> : Left align inside Masked Edit Box


Moondust
Dec 6th, 1999, 06:04 AM
All data put into a Masked Edit Box is automaticly right aligned, but I want it left aligned like in a normal textbox. The Help-files say that a Masked Edit Box should behave like a normal Textbox. That means left alignment, not right alignment.

I think it's a bug in VB5.0, but I'm not sure. I have VB5.0 and Windows 98 SE. There is a reported bug with right alignment in a Masked Edit Box with Windows NT 4.0, not Windows 98 SE.

I thought that maybe I could change the MSMASK32.OCX-file from VB5.0 with the one from VB6.0.

Is this a solution to my problem or has anybody a better one?

Suggestions are greatly appreciated.

------------------

jritchie
Dec 6th, 1999, 11:57 AM
Gee l brought a third party activex to right align masked numerics. Currently using vb5 on Win95 and Win98, in these environments the masked edit is left aligned and bloody difficult to right align.

If it is a bug maybe you could use a standard text box with a format statement.