Results 1 to 2 of 2

Thread: Left align inside Masked Edit Box

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    Rotterdam
    Posts
    1

    Post

    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.

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

  2. #2
    Addicted Member
    Join Date
    Jan 1999
    Location
    Sydney,NSW,Australia
    Posts
    178

    Post

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width