Garry's Mod Wiki

DLabel:SetDisabled

  DLabel:SetDisabled( boolean disable )

Description

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

Sets the disabled state of the DLabel.

When disabled, the label does not respond to click, toggle or drag & drop actions.

Arguments

1 boolean disable
true to disable the DLabel, false to enable it.