Garry's Mod Wiki

Panel:DoModal

Panel:DoModal

Panel:DoModal()

Description

Makes the panel "lock" the screen until it is removed. All input will be directed to the given panel.

It will silently fail if used while cursor is not visible. Call Panel:MakePopup before calling this function. This must be called on a panel derived from EditablePanel.

You can still click in the world even if locked.

Issue Tracker: 3457

Special Pages


Wikis

?

Render Time: 70ms

DB GetPage 48
Generate Html 1
SaveChanges (1) 12
Render Body 0
Render Sidebar 7