Jump to content
Sign in to follow this  
boltc

need help with: GUICtrlCreateInput

Recommended Posts

i want to create a inputbox thats not possible to edit and it needs to right aligns the text.

i have this for now on:

$ctrlinput = GUICtrlCreateInput("", 16, 16, 153, 21, $ES_READONLY)

but i also want the right alings.. the code is: "$ES_RIGHT"

this doesnt work:

$ctrlinput = GUICtrlCreateInput("", 16, 16, 153, 21, $ES_READONLY & $ES_RIGHT)

or..

$ctrlinput = GUICtrlCreateInput("", 16, 16, 153, 21, ($ES_READONLY, $ES_RIGHT))

need help :whistle:

Share this post


Link to post
Share on other sites

The best way to combine GUI control styles is by using BitOr

$ctrlinput = GUICtrlCreateInput("", 16, 16, 153, 21, BitOR($ES_READONLY, $ES_RIGHT))

Edited by Danny35d

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...