Sign in to follow this  
Followers 0
redndahead

Au3gui Questions

5 posts in this topic

I need to scroll a listbox left and right. I added the scroll bars and it can scroll up and down but not left to right.

I used this code

Global $WS_HSCROLL = 1048576
Global $WS_VSCROLL = 2097152
Global $ES_WANTRETURN = 4096

$style = BitOR($WS_HSCROLL,$WS_VSCROLL)
$style = BitOR($style, $ES_WANTRETURN)

EnvSet("OBJ1.Type","List")
EnvSet("OBJ1.x","5")
EnvSet("OBJ1.y","35")
EnvSet("OBJ1.w","170")
EnvSet("OBJ1.h","100")
EnvSet("OBJ1.style",$style)

Any thoughts? :whistle:

I have one window and when the user clicks on a button I want to open another au3gui window but I don't want the user to be able to go back to the first window until the other one closes. I know it has to do with parent and child windows but me not smarty. :iamstupid:

red

Share this post


Link to post
Share on other sites



Thanks but it doesn't seem to be working. Any thoughts? Is it working for you?

red

Share this post


Link to post
Share on other sites

Crap I pasted it to the wrong location. Sorry :whistle:

Well then back to my second question how to make the second window opened to not let you toch the first one until it closes.

Thanks for the help B)

red

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

All you should need to do is using the following line:

EnvSet("GUI.parent","title")
' title of the window that should be the (optional) parent of this GUI

when setting up your second GUI.

How simple do you need it? :whistle:

Edited by Chris_1013

Share this post


Link to post
Share on other sites

Doh B) I was looking through the styles trying to find it. Wrong place.

By the way larry thanks for adding that option. It will be really, really helpful in the future. (Translates to I changed my form so i don't need it now. :whistle: )

red

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