Revision Difference
Panel:SetHTML#511030
<function name="SetHTML" parent="Panel" type="classfunc">⤶
<description>Allows you to set HTML code within a panel.</description>⤶
<realm>Client</realm>⤶
<args>⤶
<arg name="HTML code" type="string">The code to set.</arg>⤶
</args>⤶
</function>⤶
⤶
<example>⤶
<code>⤶
local HTML = vgui.Create( "HTML", DPanel )⤶
HTML:SetHTML( "&lt;p&gt;Put HTML code here&lt;/p&gt;" )⤶
HTML:SetSize( 390, 400 )⤶
</code>⤶
⤶
</example>