Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>class tmenuitem</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Class TMenuItem
--------------------------------------------------------------------------------
 DATA
--------------------------------------------------------------------------------
 cPrompt         The label of the MenuItem
 cMsg            The text to be shown on the MsgBar of the main Window
 nId             A numeric identifier for this menuitem
 nHelpId         A numeric help topic identifier used to select invoked help
 bAction         The action to be performed when selecting the MenuItem
 bWhen           A codeblock to be avaluated to enable/disable the menuitem
 lChecked        Logical value if the menuitem is checked
 lActive         Logical value if the menuitem is enabled
 lHelp           If this is a menuitem help type (right placed)
 oMenu           A reference of its container Menu object
 hBitmap         A handle to a Bitmap if defined

 METHODS
--------------------------------------------------------------------------------
 New             Constructor from source code
 ReDefine        Constructor from resource
 Destroy         Called when the menuitem is destroyed.
 Disable         Disable the item.
 Enable          Enable the item.
 End             Ends control and make it disappear.
 EveCount        Number of total events for this class (used by the Object Inspector).
 Event           Retrieve the event from the event array.
 Load            Set the properties of the menuitem based on a supplied binary information.
 PropCount       Number of total property.
 Property        Retrieves the property from the property array.
 Save            Generates a binary representation of this object.
 SetCheck        Enables / Disables check.
 SetPrompt       Changes the associated menuitem prompt.
 __HelpTopic     Method invoked when pressing F1 when this menuitem is selected.


See Also: TMenu Commands Menu.ch

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson