Sign in to follow this  
Followers 0
stuka

...

6 posts in this topic

#1 ·  Posted (edited)

.

Edited by stuka

Share this post


Link to post
Share on other sites



To add styles, you'll want to include this file: #include <EditConstants.au3>

Next, you need to assign your input box to a variable. Do something like this:

$txtLocation = GUICtrlCreateInput("", 65, 57, 345, 35)
Then, you can use this to set data:

GUICtrlSetData($txtLocation, 'Hello, my name is Achilles')

I'm not sure if .inf files are the same .ini, could you post an example file so I can test how to get the values from it?


My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post


Link to post
Share on other sites

And oh yeah, is it possible to add a vertical/horizontal scroll bar for input/edit boxes?

Thank you!

vertical scrollbar:

GUICtrlCreateEdit("", 304, 16, 233, 87, BitOR($ES_AUTOVSCROLL,$ES_WANTRETURN,$WS_VSCROLL))

Share this post


Link to post
Share on other sites

i would probably preffer horizontal if a file location was really long, but thats just my preference, vertical would take up more of the screen and look ugly

and i think you need to use

BitAND($ES_MULTILINE, $ES_READONLY)

Interpreters have great power!Although they live in the shadow of compiled programming languages an interpreter can do anything that a compiled language can do, you just have to code it right.

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