Sign in to follow this  
Followers 0
TheGOG

VSCROLL

4 posts in this topic

#1 ·  Posted (edited)

I Created a window, and adding labels line by line, but the $WS_VSScrol is not moving and neither is the data.

Thank you.

Good point about the code.

Dim $StartRow=0

Dim $I=0

GUICreate("Test Scrolling", 200, 400, 20, 10, $WS_VSCROLL)

For $I = 50 to 120

$StartRow = $StartRow + 15

GUICtrlCreateLabel (CHr($I), 20, $StartRow, 10, 15, $WS_VSCROLL)

Next

GUISetState () ; will display an empty dialog box

Edited by TheGOG

Share this post


Link to post
Share on other sites



I Created a window, and adding labels line by line, but the $WS_VSScrol is not moving and neither is the data.

Thank you.

Please post some code showing what you have done. This will help people to understand your problem.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

Please post some code showing what you have done. This will help people to understand your problem.

I do not think that you can scroll a GUI. You may want to use an editbox or something else.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

all style are documented startin from MSDN doc, but that does not explain when you can use them.

In your case this style cannot apply on a GUI created with AutoIt. A lot of mechanisms are needed to implement such scrolling. As mention above you need to use an Edit control. :)

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