TheLord45 / amxpanel

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

Command: PPOG #17

Closed TheLord45 closed 5 years ago

TheLord45 commented 5 years ago

Toggle a specific popup page on either a specified page or the current page.

If the page name is empty, the current page is used (see example 2). Toggling refers to the activating/deactivating (On/Off) of a popup page. This command works in the same way as the ’Toggle Popup’ command in TPDesign4.

Syntax: "'PPOG-<popup page name>;<page name>'"

Variable: popup page name = 1 - 50 ASCII characters. Name of the popup page. page name = 1 - 50 ASCII characters. Name of the page the popup is displayed On.

Example: SEND_COMMAND Panel,"'PPOG-Popup1;Main'" Toggles the popup page ’Popup1’ on the Main page from one state to another (On/Off).

Example 2: SEND_COMMAND Panel,"'PPOG-Popup1'" Toggles the popup page ’Popup1’ on the current page from one state to another (On/Off).