VGUI forms

So I’m working on a admin panel for an addon I’m making. What’s the best way of going about making forms with vgui? Anybody know of any pretty good examples out there? I’ve been looking around but I haven’t really been able to find much.

are you thinking forms like html?

Yes, is there any nice way to do it? Or do you have to do it by hand… I found this but it only works for cvars…

  • snip -

you can’t really think “forms like html” in gmod. what you would do is “hook” the “click” function of a button in lua and use the http://wiki.garrysmod.com/page/Category:net to send data to the server.