TheLord45 / amxpanel

Emulator for AMX panels
GNU General Public License v3.0
13 stars 1 forks source link

Command: @PPM #16

Closed TheLord45 closed 5 years ago

TheLord45 commented 5 years ago

Set the modality of a specific popup page to Modal or NonModal.

A Modal popup page, when active, only allows you to use the buttons and features on that popup page. All other buttons on the panel page are inactivated.

Syntax: "'@PPM-<popup page name>;<mode>'"

Variable: popup page name = 1 - 50 ASCII characters. Name of the popup page. mode = NONMODAL converts a previously Modal popup page to a NonModal. MODAL converts a previously NonModal popup page to Modal. modal = 1 and non-modal = 0

Example: SEND_COMMAND Panel,"'@PPM-Popup1;Modal'" Sets the popup page ’Popup1’ to Modal.

SEND_COMMAND Panel,"'@PPM-Popup1;1'" Sets the popup page ’Popup1’ to Modal.