PPJ Web API
HomeCurrent IssuesDownloads
  • Welcome
  • Concepts
  • PPJ.Web.49
    • General
      • Sal
      • Sys
      • SalApplication
      • SalNamedProperties
      • SalWindow
      • WindowActionsEventArgs
      • SalXML
    • COM
      • SalCoClass
      • SalObject
      • SalOleErrorInfo
      • SalSafeArray
      • SalVariant
      • stdole_Font
      • stdole_Picture
      • stdole_StdFont
      • stdole_StdPicture
    • Controls
      • SalBackgroundText
      • SalCheckBox
      • SalComboBox
      • SalContext
      • SalCustomControl
      • SalDataField
        • DataType
      • SalFrame
      • SalGeneralWindow
      • SalGroupBox
      • SalGroupSeparator
      • SalHorizontalScrollBar
      • SalLine
      • SalListBox
      • SalMultilineField
      • SalNavigationBar
      • SalOptionButton
        • OptionButtonStyle
      • SalPicture
        • ImageStorage
      • SalPushbutton
      • SalRadioButton
      • SalTimer
      • SalTreeControl
        • SalTreeItem
      • SalUserControl
      • SalVerticalScrollBar
    • Forms
      • AccessoryType
      • SalDialogBox
      • SalForm
      • SalFormClientArea
      • SalFormStatusBar
      • SalFormTableWindow
      • SalFormToolBar
      • SalFormWindow
      • SalMDIWindow
      • SalRibbonBarBase
      • SalRibbonBarForm
      • SalRibbonBarMDI
    • Interfaces
      • ISalType
      • ISalAccessory
      • ISalControl
      • ISalEditControl
      • ISalListControl
      • ISalListItem
      • ISalMenu
      • ISalPictureControl
      • ISalRadioButton
      • ISalReport
      • ISalWindow
    • Menus
      • SalContextMenu
      • SalFormMainMenu
      • SalMenuItem
      • SalMenuSeparator
      • SalPopupMenu
      • SalWindowsMenu
    • QO
      • SalQuickTabs
      • SalQuickTabsDialog
      • SalQuickTabsForm
      • SalQuickTabsParent
      • SalQuickTabsParentDialog
      • SalQuickTabsParentForm
    • Sql
      • SalSqlBindVariables
      • SalSqlError
      • SalSqlHandle
      • SalSqlSessionHandle
      • Sql
      • SqlContext
      • SqlOra
      • WhenSqlError
    • Types
      • SalArray<T>
      • SalBinary
      • SalBoolean
      • SalDateTime
      • SalFileHandle
      • SalFunctionalClass
      • SalNumber
      • SalResource
      • SalString
      • SalStringContext
      • SalWindowHandle
  • PPJ.Web.Vis.49
    • General
      • Vis
      • VisTblEx
    • Controls
      • VisCalendar
      • VisCalendarDropDown
      • VisColorComboBox
      • VisColorListBox
      • VisComboBoxBase
      • VisDesktopListBox
      • VisDirListBox
      • VisDirTreeListBox
      • VisDriveComboBox
      • VisDriveListBox
      • VisDropDownBase
      • VisFileListBox
      • VisFontComboBox
      • VisFontListBox
      • VisFontNameComboBox
      • VisFontNameListBox
      • VisListBoxBase
      • VisListBoxExtension
      • VisListView
      • VisListViewDropDown
      • VisMeter
      • VisOutlineComboBox
      • VisOutlineListBox
      • VisPictureComboBox
      • VisPictureListBox
      • VisPoint
      • VisRadioListBox
      • VisRect
      • VisSize
      • VisSpinField
      • VisSplitter
      • VisSplitterWindow
        • Orientation
  • PPJ.Web.XSal.49
    • General
      • XSal
      • XSalScript
    • Controls
      • XSalFlatButton
      • XSalHSplitter
      • XSalSplitter
      • XSalToolbar
      • XSalToolbox
      • XSalVSplitter
Powered by GitBook
On this page
  • Constructors
  • SalMenuItem()
  • Properties
  • ImageName
  • ImageNormal
  • ImageSelected
  • MenuID
  • Owner
  • StatusText
  • Methods
  • CloneMenu()
  • MergeMenu()
  • Events
  • CheckedWhen
  • EnabledWhen
  • MenuActions
  • Implements
  1. PPJ.Web.49
  2. Menus

SalMenuItem

PPJ.Runtime.Windows.SalMenuItem

PreviousSalFormMainMenuNextSalMenuSeparator

Last updated 2 years ago

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Web.49 (4.9.0.0)

Implementation of SalMenuItem. Extends the default MenuItem in .NET to support SAL menu events and to support fonts and images.

public class SalMenuItem : MenuItem, ISalMenu
Public Class SalMenuItem
    Inherits MenuItem
    Implements ISalMenu

Constructors

SalMenuItem()

Constructs a new SalMenuItem.

Properties

ImageName

Methods

Overrides the CloneMenu method to duplicate event handlers.

Overrides the MergeMenu method to duplicate event handlers.

Events

Implements

Name
Description

All Sal menu types implement this interface. It is used to let the framework query for common properties like the StatusText.

: Returns or sets the image to load from the embedded resources. (Default: "")

ImageNormal

Deprecated: : Returns/Sets the image to paint next to menu items. (Default: null)

ImageSelected

Deprecated: : Returns/Sets the image to paint next to selected menu items. (Default: null)

MenuID

: Returns the internal menu ID assigned to the menu item.

Owner

: Owner of menu item.

StatusText

: The status text to display in the status bar when the menu item is selected. (Default: "")

CloneMenu()

Returns: .

MergeMenu()

Returns: .

CheckedWhen

CheckedWhen event.

EnabledWhen

EnabledWhen event.

MenuActions

MenuActions event.

String
Int32
Control
String
MenuItem
MenuItem
SalMenuCheckedWhenHandler
SalMenuEnabledWhenHandler
SalMenuActionsHandler
ISalMenu
Component
Component
Menu
MenuItem
SalMenuItem
Image
Image