Panel.MoveToFront
From GMod Wiki
| Function | |
| Syntax | Panel:MoveToFront( ) |
| Description: | |
| Moves a panel so it renders above (in front of) every other panel currently displaying. | |
| Returns: | nil |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.MoveToFront]Panel.MoveToFront [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Don't confuse this with Panel.MoveAbove, Panel.MoveBelow, Panel.MoveRightOf and Panel.MoveLeftOf which are purely positional methods. Panel:MoveToFront affects rendering order only.
- This does not only influence the rendering order but also the order in which panels are laid out (for example Docking).