Trade Manager Risk editing

 

Hey guys, have been working on a simple trade manager here. I got a few problems which I will appreciate getting help. The risk editable box fails to accept keyboard inputs instead its selected like an object. So I can't edit the risk amount. Also the dragging of the panel is sensitive, if I  drag it a little it even disappears from the screen. Kindly help fix this 2 issues. Thanks in advance.

Files:
code.mq5  27 kb
 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893