Jump to content
Sign in to follow this  

Unusual Input Control

Recommended Posts


Unusual Input Control

I would like to have a single line edit or input control with a horizontal

scrollbar, automatic horizontal scroll and centered text.

Calling GUICtrlCreateInput() with $WS_HSCROLL creates such a control, but

the scrollbar does not work. Also other style flag combinations don't gave

the desired results, neither with an Input nor with an Edit control.

Ideally, I would also like to have the scrollbar (and consequntly the

Edit/Input control) initially set to center position, but that's not

so important.

Does anybody know how to create such a control if it's at all possible.

Another thing is that I would like to create an Input or Edit control

which is for example exactly 20 text chars wide.

I know that AutoIt is not a full-featured GUI Development language, but hey... :whistle:

Any help or suggestion is greatly appriciated.

Share this post

Link to post
Share on other sites

Not sure if I read your question correctly..

But have a look in help file for _GUICtrlEditLineScroll

Works with edit box.


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.