Sign in to follow this  
Followers 0
bundyxc

GUICtrlCreateEdit() Scrollbox

2 posts in this topic

Right now, I'm using this:

$log = GUICtrlCreateEdit($text, 16, 10, 240, 150, 0x00200800)

How would I make it so that my edit box stays scrolled down as much as possible? It logs user actions/etc, and displays it in this text field, with the most recent actions at the bottom. How would I go about making it so that the edit box scrolls down to the bottom automatically, or at least when new actions are submitted?


Global $arr[2]

$arr[0]="hip"
$arr[1]="hip"
;^^ hip hip array. ^^

Share this post


Link to post
Share on other sites



Use this:

#include <GuiEdit.au3>
$hEdit = GUICtrlGetHandle($yourControlID)
_GUICtrlEdit_LineScroll($hEdit, 0, _GUICtrlEdit_GetLineCount($hEdit))
Right after you add something..

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

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