JeViCo Posted April 10, 2018 Share Posted April 10, 2018 Hello everyone! I'm making a login panel. I met a little problem: (memo vertical line marked with red arrow) i hid Memo but line is still visible Link to comment
MIKI785 Posted April 10, 2018 Share Posted April 10, 2018 I'm not really sure what's going on here. Post the code, that's the only way. Link to comment
JeViCo Posted April 10, 2018 Author Share Posted April 10, 2018 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) Link to comment
MIKI785 Posted April 10, 2018 Share Posted April 10, 2018 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. Link to comment
Dimos7 Posted April 10, 2018 Share Posted April 10, 2018 (edited) guiMemoSetReadOnly(edit_login) Edited April 10, 2018 by Dimos7 Link to comment
BrekBerry Posted April 10, 2018 Share Posted April 10, 2018 Всм?А для чего это тебе?)_) 1 Link to comment
JeViCo Posted April 11, 2018 Author Share Posted April 11, 2018 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 Link to comment
JeViCo Posted April 12, 2018 Author Share Posted April 12, 2018 On 10.04.2018 at 23:23, BrekBerry said: Всм?А для чего это тебе?)_) текст сохранять, который написал - избежать длинных функций (лучше не пиши сюда, для этого языка спец раздел есть) 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