Jump to content

Right-justified input contol


qwert
 Share

Recommended Posts

Is there a control setting that will cause an input control to display right-justified (instead of the the default of left-justified)? What I'm looking for is entry behavior like you have with a hand-held calculator where the leading characters march across from right to left as an entry is made.

I've thought that the answer might be to create a transparent control for the key entry and use a corresponding label control to display the result. GUICtrlCreateLable seems to have all the necessary display styles, like $SS_RIGHT. But I haven't found any examples of this.

I did find several references to RichEdit, but they seem related to setting font style, color and so forth. I didn't find anything related to key entry behavior.

Any advice will be appreciated -- and a simple example would be great.

Thanks in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...