MediaPlayerValue¶
Qualified name: delphifmx.MediaPlayerValue
- class MediaPlayerValue¶
Bases:
CustomValueRangeActionMethods
TBasicAction.Execute() Generates an OnExecute event.
TMediaPlayerValue.HandlesTarget(Target: Object) -> bool Whether Target is appropriate for the action (True) or not (False).
TBasicAction.Update() Provides an opportunity to execute centralized code when an application is idle.
Attributes
Indicates the client component that caused this action to execute.
ActionListHolds the action list to which the action belongs.
AutoCheckControls whether the Checked property toggles when the action executes.
CaptionRepresents the caption of the action.
CategoryGroup or category where the action belongs.
CheckedIndicates whether client controls and menu items appear checked.
ClassNameReturns the TObject.ClassName
ComObjectSpecifies the interface reference implemented by the component.
ComponentCountReturns the owned component count
ComponentIndexIndicates the position of the component in its owner's Components property array.
ComponentStateDescribes the current state of the component, indicating when a component needs to avoid certain actions.
ComponentStyleGoverns the behavior of the component.
ComponentsReturns an iterator over the owned components
CustomText is a user text.
DesignInfoContains information used by the Form designer.
DisableIfNoHandlerIndicates whether the action's clients should be disabled if no OnExecute event handler is found.
EnabledSpecifies the enabled state for the action.
GroupIndexIndicates a group of actions in one action list.
HelpContextKeeps the integer context ID that identifies the Help topic for the action.
HelpKeywordContains the keyword string that identifies the Help topic for the action.
HelpTypeKeeps whether to use the HelpContext or HelpKeyword property to identify the Help topic.
HideIfUnsupportedInterfaceDefines whether the UnSupported action can be visible and accessible.
HintStores the Help hint text.
Stores an index in a list of images.
IndexSpecifies the index of the action in its action list.
Instance of TMediaPlayer that is target of the value.
NameSpecifies the name of the component as referenced in code.
ObserversIndicates the TObservers object added to the TComponent.
OwnerReturns the Component Owner
PopupMenuEmbarcadero Technologies does not currently have any additional information.
Stores shortcuts (in addition to ShortCut) for triggering the action.
Shortcut that triggers the action.
ShortCutPressedSpecifies that the action is fired by pressing a keyboard key, not by clicking with the mouse.
StatusActionStores the status for an input field in an action.
SupportedDefines whether the action can work on the current platform and CPU architecture.
TagStores a NativeInt integral value as a part of a component.
TargetDefines the component for which the action is executed.
TextRepresents the caption of the action.
Defines the set of unsupported CPU architectures.
UnsupportedPlatformsDefines the set of unsupported OS platforms.
VCLComObjectRepresents information used internally by components that support COM.
ValueRangeProvides access to a floating-point value and its permitted ranges.
Stores whether the action representation is visible.
- ActionComponent¶
Indicates the client component that caused this action to execute.
- CustomText¶
CustomText is a user text. Some actions can, by default, automatically set the Text property. For example, in the TFileExit standard action, the Text property has the Quit <Application.Title> value. To set your own value, set the value of the Text property to the value of the CustomText property.
- Type:
str
- Execute()¶
Generates an OnExecute event.
- HandlesTarget(Target: Object) bool¶
Whether Target is appropriate for the action (True) or not (False). HandlesTarget is always False.
- ImageIndex¶
Stores an index in a list of images. ImageIndex is a zero-based index in a list of images. TContainedAction does not provide the actual list of images, only implementations of actions in GUI application frameworks provide such a property. In general, this list of images contains images that are associated with controls and menu items that use this action. The value of ImageIndex can be propagated to all client controls and client menu items linked to the action.
Note: When ImageIndex is -1, this means that the list does not contain any images. In typical implementations of controls, an image is drawn at the leftmost position in the control, and a control’s text is drawn to the right of the image. If ImageIndex is -1, then a control does not offset the text to the right to reserve a placeholder for the image. Otherwise, if ImageIndex is not -1, then the control’s text is always drawn with the offset to the right to reserve a place for drawing an image.
- Type:
int
- MediaPlayer¶
Instance of TMediaPlayer that is target of the value.
- Type:
- SecondaryShortCuts¶
Stores shortcuts (in addition to ShortCut) for triggering the action. Actions can execute in response to multiple shortcut key combinations. SecondaryShortCuts lists all the shortcut key combinations (other than the one specified by the ShortCut property) that can trigger the action. This lets you provide additional, secondary shortcuts. When the user types one of the key combinations listed in SecondaryShortCuts, the action’s Execute method is called.
- Type:
CustomShortCutList
- ShortCut¶
Shortcut that triggers the action. The value of Shortcut can be propagated to all client controls and client menu items linked to the action.
- Type:
int
- UnsupportedArchitectures¶
Defines the set of unsupported CPU architectures. The TArchitecture type defines the arIntelX86 and arIntelX64 constants that identify the processor architectures Intel x86 and Intel x64. Use UnsupportedArchitectures to identify sets of unsupported processor architectures.
- Type:
Architectures
- Update()¶
Provides an opportunity to execute centralized code when an application is idle.
- Visible¶
Stores whether the action representation is visible. Visible specifies the visible state for the action (True means visible, False means invisible). This Visible value is propagated to a client of the action if IsVisibleLinked method of the action link linking the client to the action returns True. If the Visible of an action is False and IsVisibleLinked of an action link returns True, then the Visible of the client (a control, menu item, or others) is also set False and this client is also invisible. Typically, IsVisibleLinked of an action link returns False if the action belongs to TCustomViewAction. Otherwise, when the action belongs to TAction, then IsVisibleLinked of an action link returns True. That is, TCustomViewAction is used when one need to provide visible representation of clients of actions that have Visible set True.
- Type:
bool