Panel/SetHTML

From Garry's Mod
Jump to: navigation, search
 Panel:SetHTML( )

Contents

Description

Allows you to set HTML code within a panel.

Arguments

string HTML code

The code to set.

Examples

Example

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


Personal tools
Navigation