Garry's Mod Wiki

DDragBase:SetReadOnly

  DDragBase:SetReadOnly( boolean name )

Description

Sets whether this panel is read only or not for drag'n'drop purposes. If set to true, you can only copy from this panel, and cannot modify its contents. This is an AccessorFunc

Arguments

1 boolean name
Whether this panel should be read only or not.