Jump to content

hide/disable memo vertical line


JeViCo

Recommended Posts

Posted

Hello everyone! I'm making a login panel. I met a little problem:

screenshot_1.png(memo vertical line marked with red arrow)

i hid Memo but line is still visible :sad:

Posted
edit_login = guiCreateMemo(0.31, 0.28, 0.42, 0.17, "", true, backimg)
guiSetAlpha(edit_login, 0.00)

-- some OnClientRender actions

dxDrawLine(x*543+textwidth, y*317, x*543+textwidth, y*357, tocolor(0, 0, 0, alpha), 2, true)

 

Posted

You could use guiSetVisible instead, but I suppose you want it to remain active, correct?

Btw. is that line the cursor? That is the blinking line when typing.

Posted
17 hours ago, Dimos7 said:

guiMemoSetReadOnly(edit_login) 

 

i need that to save words. I'm getting text from it and draw with dxDrawText. Maybe i should use onClientCharacter or onClientKey event. I really don't know what to do :/

Posted
On 10.04.2018 at 23:23, BrekBerry said:

Всм?А для чего это тебе?)_)

 

текст сохранять, который написал - избежать длинных функций (лучше не пиши сюда, для этого языка спец раздел есть)

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