Enabling keyboard input in DHTML?

I hope this isn’t too dumb of a question, but I’m making an addon where users need to be able to use their keyboard in my DHTML panel. I’ve tried IsKeyboardInputEnabled(true) and other stuff but it isn’t working. Anyone got a suggestion?


Make sure you parent the DHTML Panel to an EditablePanel or anything that derives from it.

IIRC (haven’t been into gmod dev for a while)

Have you used this?


You are a life saver, thank you so much!