Garry's Mod Wiki

Panel:SetHTML

Panel:SetHTML

  Panel:SetHTML( string HTML code )

Description

Allows you to set HTML code within a panel.

Arguments

1 string HTML code
The code to set.

Example

local HTML = vgui.Create( "HTML", DPanel ) HTML:SetHTML( "<p>Put HTML code here</p>" ) HTML:SetSize( 390, 400 )

Special Pages


Wikis

?

Render Time: 18ms

DB GetPage 2
Generate Html 1
SaveChanges (1) 5
Render Body 0
Render Sidebar 7