P.RichText:SetVerticalScrollbarEnabled

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:SetVerticalScrollbarEnabled( Boolean enabled )
Description:
Disables the scrollbar alongside the richtext window.
Returns: nil
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=P.RichText:SetVerticalScrollbarEnabled]P.RichText:SetVerticalScrollbarEnabled [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionRemoves scrollbar
Used onNewerClient.png
Code
local Text=vgui.Create( 'RichText' )
Text:SetVerticalScrollbarEnabled(false)
 
OutputNo Scrollbar
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox