• Client side, simulate click on a derma panel
    4 replies, posted
Is there a way I can simulate a left click on a derma panel?
You can just call the function manually. [lua] PANEL:OnMousePressed(107) [/lua] Should work actually.
Just call's the function but still doesn't simulate the click. [editline] a [/editline] I'm trying to make it click something in a list [editline] a [/editline] Nevermind I figured out what I needed.
Post it here for anyone who searches for the thread later?
Didn't simulate a click but what I did was. This is for a Derma DTree. Node.DoRightClick = function() DTree:SetSelected(Node) end
Sorry, you need to Log In to post a reply to this thread.