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.

Arguments

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