Jump to content

Recommended Posts

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
Posted

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.


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

Posted

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.


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

Posted

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. :)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...