Other Languages Moderators Lord Henry Posted May 19, 2018 Other Languages Moderators Share Posted May 19, 2018 Hello. Is there a way to fix this? The text keeps going behind the scroll bar on Memos. I was searching something on guiSetProperties about margin, but I don't know how to use and I don't know if it will fix this issue. https://prnt.sc/jjyuit Link to comment
DNL291 Posted May 22, 2018 Share Posted May 22, 2018 Honestly, I would use \n to break the lines and organize it manually. Maybe it's possible using the guiSetProperty function. I've never tried this before, but you can try the following: Disable the memobox vertical scrollbar to make it invisible and create a scroll bar with guiCreateScrollBar. On the created scrollbar, use the "onClientGUIScroll" event plus guiScrollBarGetScrollPosition function and set it's value to the Memo scroll pos. Link to comment
Other Languages Moderators Lord Henry Posted May 31, 2018 Author Other Languages Moderators Share Posted May 31, 2018 On 21/05/2018 at 21:11, DNL291 said: Honestly, I would use \n to break the lines and organize it manually. This is a solution, but my memos use custom text. The users don't know where to break line. On 21/05/2018 at 21:11, DNL291 said: Disable the memobox vertical scrollbar to make it invisible How to disable a memobox' scrollbar? I could use guiSetEnabled, but the text need to be selectable. Link to comment
DNL291 Posted May 31, 2018 Share Posted May 31, 2018 Tried removing Memo's scrollBar and I could not either :/ I don't remember any solution to that, since in your case, the player should be able to select the text. You may consider using another way to show that text-box without using a Memo. Link to comment
Other Languages Moderators Lord Henry Posted June 1, 2018 Author Other Languages Moderators Share Posted June 1, 2018 I don't know any other way to show a selectable text with many lines. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now