1. MainMenu
2. PopupMenu
3. ActionList
1. MainMenu
, menus
- TMainMenu . , . Create Submenu .- TMainMenu OLE .
Items TMenuItem, , , . Caption , Name - , ShortCut . Default , , .. , . Break , . Checked, true, , , , . , , RadioItem. , true, , , GroupIndex.
Enabled () Visible ().
Delphi 4 . Bitmap ImageIndex. , . , TImageList. Images TMainMenu.
- OnClick, "" .
1. AutoHotKeys
, ""
2. AutoLineReduction
, Delphi
3. AutoMerge - , .
4 BiDiMode . bdLeftToRight, .
5.ComObject , COM
|
|
6. ComponentCount , .
7. ComponentIndex Components
-Components Components, .
-ComponentState . .
-ComponentStyle .
-DesignInfo Delphi . .
-Handle , API Windows
-Images- , . ImageIndex ( Images) Items TMenuItem.
-Items () TMenuItem
-Name , .
-Owner
-OwnerDraw ,
-ParentBiDiMode , BiDiMode
-Tag ,
-VCLComObject Delphi , COM
-WindowHandle , .
fterConstruction -
Assign - ,
BeforeDestruction -
ClassInfo - (RTTI)
ClassName -
-ClassNameIs-- true, ( is )
ClassParent - ClassType - (RTTI)
CleanupInstane - variant. -Free
Create-- TMainMenu.--DefaultHandler
- . , Dispatch,
Destroy . Destroy -Free
DestroyComponents- , . -Free
Destroying-, , , . - Free
Dispatch- , --DispatchCommand- Command ID -Windows
DispatchPopup- ,
-FieldAdress-- --FindComponent
- Components
FindItem--
Free-- . Destroy, --FreeInstance
|
|
- ,
NewInstance.- Destroy.
FreeNotification--, . , .
FreeOnRelease- , COM--GetHelpContext-- ID -WinHelp- - , --GetInterface-- ,
-GetInterfaceEntry-- ,
e-tNamePath - , --GetOle2AcceleratorTable- --GetParentComponent- --HasParent,
InheritsFrom , . is as
InitInstance .
NewInstanceInsertComponent
Components -. .
InstanceSize- , . --
OnChange
- , TMenuItem.
2. PopupMenu
, menus
------------------------------------------------------
- TPopupMenu , , PopupMenu.
, . Create Submenu .- Items TMenuItem, , , . Caption , Name - , ShortCut . Default , , .. , . Break , . Checked, true, , , , . , , RadioItem. , true, , , GroupIndex.
Enabled () Visible ().
Delphi 4 . Bitmap ImageIndex. , . , TImageList. Images TPopupMenu.
|
|
- - OnClick, "" .
1. Alignment , : paLeft - , paRight - , paCenter - . - paLeft.
2. AutoHotKeys, ""
3. AutoLine
4. Reduction , Delphi
5. AutoPopup Windows 95/98 . AutoPopup false, Popup
6. HelpContext , . HelpContext TMenuItem
7. Images , . ImageIndex ( Images) Items TMenuItem
8. Items () TMenuItem
9. Menu
10. Animation ( Windows 98 NT 5.0)
11. Popup
12. Component , . , , ,
13. PopupPoint . . Popup
14. TrackButton , ,
-
-- AfterConstruction
- Assign , .
- BeforeDestruction
- ClassInfo (RTTI)
- ClassName
- ClassNameIs true, ( is )
- ClassParent
- ClassType (RTTI)
- CleanupInstance variant. Free
- Create TPopupMenu.
- DefaultHandler . , Dispatch,
- Destroy . Destroy Free
- DestroyComponents , . Free
- Destroying , , , . Free
- Dispatch ,
- DispatchCommand Command ID Windows
- DispatchPopup ,
- DoPopup OnPopup
- ExecuteAction Action,
|
|
- FieldAddress
- FindComponent Components
- FindItem
- Free . Destroy,
- FreeInstance , NewInstance. Destroy.
- FreeNotification , . , .
- FreeOnRelease , COM.
- GetHelpContext ID WinHelp - ,
- GetInterface ,
- GetInterfaceEntry ,
- GetInterfaceTable ,
- GetNamePath ,
- GetParentComponent
- HasParent,
- InheritsFrom, . is as
- InitInstance . NewInstance
- InsertComponent Components -. .
- InstanceSize , .
- IsRightToLeft ,
- IsShortCut "" , ,
- MethodAddress .
- MethodName ,
- NewInstance . . InstanceSize
- Popup
- ProcessMenuChar ,
- RemoveComponent Components -. .
- SafeCallException COM OLE-- UpdateAction Action, .
- UseRightToLeftAlignment , : true, BiDiMode = bdRightToLeft
- OnChange
- OnPopup
- , TMenuItem
: 1, .54-67.
.
1. MainMenu?
2. PopupMenu?
3. ActionList ?