Jump to content

Recommended Posts

Posted

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:

Posted (edited)

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

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
×
×
  • Create New...