Project

General

Profile

Actions

$style » History » Revision 1

Revision 1/4 | Next »
Per Amundsen, 08/11/2015 01:27 PM


Added in 1.8.10

$style(N)

Used to modify the style of a menuitem during a menu event.

Parameters

N - N = 0 for normal, N = 1 for checked, N = 2 for disabled, and N = 3 for both.

Example

; Create a custom window.
/window @Example

;Create a menu for @Example.
menu @Example {
  normal $style(0):
  checked $style(1):
  disabled $style(1):
  checked and disabled $style(1):
}

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT