Garry's Mod Wiki

DButton:SetDisabled

DButton:SetDisabled( boolean disable )

Description

We advise against using this. It may be changed or removed in a future update. Use Panel:SetEnabled instead.

Sets whether or not the DButton is disabled.

When disabled, the button is greyed out and cannot be clicked.

Arguments

1 boolean disable
When true Enable the button, when false Disable the button.

Page Links


Special Pages


Wikis

?

Render Time: 75ms

DB GetPage 46
Generate Html 1
SaveChanges (1) 13
Render Body 0
Render Sidebar 12