If I create a DFrame and don't make it pop up, how can I get focus on it then?
EXAMPLE:
[LUA]
local DermaFrame = vgui.Create("DFrame")--Creating the DFrame
DermaFrame:MakePopup()--Now it's focussed but I can't lose focus on it.
[/LUA]
Press F3 or hold C
[QUOTE=NintendoEKS;38407268]Press F3 or hold C[/QUOTE]
On holding C I get a mouse cursor but it can't control it. On pressing F3 nothing happens.
'Control' it?
DermaFrame:SetDraggable(true)
[QUOTE=NintendoEKS;38407549]'Control' it?
DermaFrame:SetDraggable(true)[/QUOTE]
With 'Control' I meant that I can't use buttons on it or something like that.
Sorry, you need to Log In to post a reply to this thread.