Sign in to follow this  
Followers 0
anixon

Justification

3 posts in this topic

#1 ·  Posted (edited)

This code:

$mydata = GUICtrlCreateInput("", 105, 162, 100, 20, $SS_RIGHT)

creates a right justified input box I have only drawn the left and right hand borders which when you input the data there is no right user configurable margin between the alphamerics and the border. I guess from a graphics point of view it looks something like this

|................... 0.00.|

where as I would prefer it to look like this

The periods are used for spacing purposes

|.................0.00....|

How might this be achieved?

Help is always appreciated...:unsure:

Edited by anixon

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hello Ant :unsure: nice to see you around here :>

You can simply add a number of white spaces at the end of the string used in the inputbox - that will make yout text "shift" to the left. Well, it's a workaround but I guess it works ;)

Edit: just tested it and it works - have a good Easter :D

Edited by enaiman

SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

Hello Ant :unsure: nice to see you around here :>

You can simply add a number of white spaces at the end of the string used in the inputbox - that will make yout text "shift" to the left. Well, it's a workaround but I guess it works ;)

Edit: just tested it and it works - have a good Easter :D

Thanks for that good to see you are still active in AutoIT. My skill level has much improved with the exception of where I cannot see the woods for the trees. Staying home for Easter but having the family in attendance which should be good. Hope everything is well with you and yours in the sunny south. Thanks for you help simple solutions that work don't have to be elegant. I'll catch up with you in the near future off forum. Cheers for now and thanks again ;):)

Share this post


Link to post
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
Sign in to follow this  
Followers 0