Garry's Mod Wiki

Revision Difference

Panel:GWEN_SetMax#550783

<function name="GWEN_SetMax" parent="Panel" type="classfunc"> <description><internal></internal> Used by <page>Panel:ApplyGWEN</page> to apply the `Max` property to a <page>DNumberWang</page>, <page>Slider</page>, <page>DNumSlider</page> or <page>DNumberScratch</page>. This calls `SetMax` on one of the previously listed methods.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="maxValue" type="number">The maximum value the element is to permit.</arg> </args> </function>