Garry's Mod Wiki

Revision Difference

DHorizontalScroller:ScrollToChild#518115

<function name="ScrollToChild" parent="DHorizontalScroller" type="panelfunc"> <ispanel>yes</ispanel> <description>Scrolls the <page>DHorizontalScroller</page> to given child panel.</description> <realm>Client</realm> <args> <arg name="target" type="Panel">The target child panel. Must be a child of &lt;page&gt;DHorizontalScroller:GetCanvas&lt;/page&gt;</arg>⤶ <arg name="target" type="Panel">The target child panel. Must be a child of <page>DHorizontalScroller:GetCanvas</page></arg>⤶ </args> </function>