Moderators Lord Henry Posted May 19, 2018 Moderators 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 Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
DNL291 Posted May 22, 2018 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. Please do not PM me with scripting related question nor support, use the forums instead.
Moderators Lord Henry Posted May 31, 2018 Author Moderators 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. Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
DNL291 Posted May 31, 2018 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. Please do not PM me with scripting related question nor support, use the forums instead.
Moderators Lord Henry Posted June 1, 2018 Author Moderators Posted June 1, 2018 I don't know any other way to show a selectable text with many lines. Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanks! Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment Discord Oficial do MTA: https://mtasa.com/discord Blacklist e Whitelist de Scripters: Planilha Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.
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