Jump to content

Memo's scrollbar[SOLVED]


Kenix

Recommended Posts

Posted (edited)

I want scroll memo's bar for example when player write message in to edit. So i want make like MTA Console. When you write some command it's scrolled down. It's possible?

Edited by Guest
Posted

I think you have to make like when a player hits 200letters ( more or less ), an scroll bar appears ( you chose place ) to scroll down and up.

I'm thinking something like that.

Guest Guest4401
Posted

You want the memo's scroll to be scrolled down to the bottom?

local text = "\n1\n2\n3\n4\n5\n6\n7\n8\n9" 
local memo = guiCreateMemo(100,100,100,100,text,false) 
guiMemoSetCaretIndex(memo,#text) 

Posted
You want the memo's scroll to be scrolled down to the bottom?
local text = "\n1\n2\n3\n4\n5\n6\n7\n8\n9" 
local memo = guiCreateMemo(100,100,100,100,text,false) 
guiMemoSetCaretIndex(memo,#text) 

I resolved this problem before you post it :D

Thank you anyway.

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