-
Notifications
You must be signed in to change notification settings - Fork 38
MSubMenuStyle
-
-
-
MColor
https://www.google.com/design/spec/style/color.html#color-color-palette
To construct a color, use one of the functions below-
color : MColorName
-
shade : int
-
accent : bool
-
color : MColorName
-
MSelectedColor
-
color : MColor
-
color : MColor
-
MBackgroundStyle
Background style of the popup-
style : [ TGraphicsStyle ]
-
style : [ TGraphicsStyle ]
-
MSelectedBackgroundStyle
MSelectedX styles works only with MListSelection() state-
style : [ TGraphicsStyle ]
-
style : [ TGraphicsStyle ]
-
MEmptyMessage
When the list is empty, display this in the center-
message : Material
-
message : Material
-
MListWidth
If width < 0 list takes all available width
(-1.0, -1.0 by default)-
minWidth : double
-
maxWidth : double
-
minWidth : double
-
MCondensed
Style for slimmer rows (height = 32 dp)-
condensed : bool
-
condensed : bool
-
MAddSeparators
Add shadow and separators. -
MAddScroll
If None(), creates TScrollInspectVisible by default.-
scrollInpect : Maybe<TScrollInspectVisible>
-
scrollInpect : Maybe<TScrollInspectVisible>
-
MCollapseUnactive
-
MListMinimize
-
minimize : Transform<bool>
-
minimize : Transform<bool>
-
MListMinimizedWidth
-
width : double
-
width : double
-
MNoEllipsis
72. by default -
MSideBorders
Add borders to left and right sides of each line (16.0 by default)-
borders : Transform<double>
-
borders : Transform<double>
-
MPrimaryActionWidth
Set width of each line`s primary action (72.0 by default)-
width : Transform<double>
-
width : Transform<double>
-
-
MOnListClick
-
enabled : Transform<bool>
-
onClick : (int) -> void
-
enabled : Transform<bool>
-
-
MouseOnDownAroundState
-
MOnClick
Only one type of MOnClick* is called when several conflicting styles are used.
For example if button has MOnClick and MOnTripleClick, only MOnTripleClick on triple click.
If click starts some async task, then consider to use MOnClickAsync instead-
click : () -> void
-
click : () -> void
-
MOnMiddleClick
-
click : () -> void
-
click : () -> void
-
MOnRightClick
-
click : () -> void
-
click : () -> void
-
MMousePosition
Mouse coordinates inside component-
point : DynamicBehaviour<Point>
-
point : DynamicBehaviour<Point>
-
MOnDoubleClick
-
click : () -> void
-
click : () -> void
-
MOnTripleClick
-
click : () -> void
-
click : () -> void
-
MOnClickAsync
Blocks button till the end of async action started by the click-
click : (() -> void) -> void
-
click : (() -> void) -> void
-
MOnLongClick
-
click : () -> void
-
click : () -> void
-
MOnLongTouch
-
touch : () -> void
-
touch : () -> void
-
MLongTouchDelay
-
delay : int
-
delay : int
-
MOnTouch
ms, 500 by default-
delay : int
-
touch : () -> void
-
delay : int
-
MDisableHover
-
MInteractionId
Id used in manager.currentInteractionItemID-
id : int
-
id : int
-
MPassClicks
Pass clicks to elements below -
MAdditionalRollOutCheck
Additional check for roll out
Useful in cases when your component translated to different point while mouse inside -
MMobileForceHover
Force hover on mobile
-
-
MouseOnDownAroundState
-
-
TButtonState
* **MEnabled**<br /> Disables inner clickable materials in most of the components<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MOnMouseDown**<br /> * **down** : (**point** : Point, **inside** : bool) -> void<br /> * **MOnMouseUp**<br /> * **up** : (**point** : Point, **inside** : bool) -> void<br /> * **MInteractionsOnTop**<br /> Move interactions on top of the component<br /> * **MRightDown**<br /> * **down** : DynamicBehaviour\<bool\><br /> * **MMiddleDown**<br /> * **down** : DynamicBehaviour\<bool\><br /> * **MFocusEnabled**<br /> Enable or disable shortcuts and keys for focus, theme changer and feedback snapshots.<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MForceFocusEnabled**<br /> Force focus enabled<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MFocusOnPrevious**<br /> Focus on previously focused item after focus is lost on current<br /> * **MShortcut**<br /> Keyboard shortcut to active the button<br /> * **shortcut** : string<br /> * **MShortcutKeyCodeComparison**<br /> Compare shortcuts by keycode instead of utf-8 character.<br /> * **MShortcutPreventDefault**<br /> Call preventDefault<br /> * **MDefaultShortcutEnabled**<br /> Enable default enter/space apply shortcut<br /> True by default<br /> * **enabled** : [Transform](Transform)\<bool\><br />
-
AccessRole
* **FAccessAttribute**<br /> * **name** : string<br /> * **value** : [Transform](Transform)\<string\><br /> * **[MRippleStyle](MRippleStyle)**<br /> * **MRippleColor**<br /> Color of the ripple<br /> * **color** : [Transform](Transform)\<[MColor](MColor)\><br /> * **MRippleOpacity**<br /> Opacity of the ripple<br /> * **opacity** : [Transform](Transform)\<double\><br /> * **MRippleType**<br /> Type of the ripple animation<br /> * **type** : [Transform](Transform)\<[RippleType](RippleType)\><br /> * **MRipplePosition**<br /> Position of top left corner of the ripple<br /> * **position** : [Transform](Transform)\<Point\><br /> * **MRippleShape**<br /> * **component** : string<br /> * **MRippleOverlay**<br /> * **overlay** : bool<br /> * **MRippleWidthHeight**<br /> * **wh** : [Transform](Transform)\<WidthHeight\><br /> * **MRippleFocused**<br /> default: true<br /> * **focused** : [Transform](Transform)\<bool\><br /> * **MRippleHovered**<br /> * **hovered** : [Transform](Transform)\<bool\><br /> * **MRippleSelected**<br /> * **selected** : [Transform](Transform)\<bool\><br /> * **MEnabled**<br /> Disables inner clickable materials in most of the components<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MFocusOnDown**<br /> Set focus to true on mouse down inside<br /> * **enabled** : ref bool<br /> * **MHighlightOnFocus**<br /> Add highlight if focused, selected or hovered<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MHighlightOnHover**<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MHighlightOnSelect**<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MCursorShape**<br /> Shape of the cursor inside, disabled if MEnabled is disabled too<br /> * **shape** : [Transform](Transform)\<CursorShape\><br /> * **MClickEnabled**<br /> Disable any mouse interaction without making component disabled<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MHoverEnabled**<br /> Disable hover<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MShortcutFilter**<br /> Function to decide if shortcut should be handled or not<br /> * **filterFn** : (**focused** : bool, **keyEvent** : KeyEvent) -> bool<br /> * **MTooltipText**<br /> Simple tooltip<br /> * **text** : [Transform](Transform)\<string\><br /> * **MFocused**<br /> Shows is this component focused<br /> Also allows to set focus<br /> * **focused** : DynamicBehaviour\<bool\><br /> * **MSelected**<br /> * **selected** : DynamicBehaviour\<bool\><br /> * **MActive**<br /> * **active** : DynamicBehaviour\<bool\><br /> * **MKeepFocusOnClickOut**<br /> Keep focus on clicks outside this component<br /> * **IScriptBehaviour**<br /> * **name** : string<br /> * **beh** : DynamicBehaviour\<flow\><br /> * **type** : [IScriptRecordType](IScriptRecordType)<br /> * **IScriptId**<br /> * **id** : string<br /> * **IScriptRecordingEnabled**<br /> * **enabled** : [Transform](Transform)\<bool\><br /> * **MFocusId**<br /> Set MFocus id which acts also as taborder inside parent MFocusGroup<br /> Components with same MFocusId inside same parent can cause problems<br /> * **id** : [Transform](Transform)\<int\><br /> * **MAddFocusGroup**<br /> Wrap constructed MFocus and constructed content with MFocusGroup<br /> * **add** : bool<br /> * **MAccessOneWayConnection**<br /> * **focusedPopup** : bool<br /> * **MGetFocus**<br /> Get contructed inside the component MFocus<br /> * **getFn** : (MFocus) -> void<br /> * **MElevation**<br /> Elevation on focus (8. by default)<br /> * **elevation** : [Transform](Transform)\<double\><br /> * **MFocusName**<br /> * **name** : string<br /> * **MButtonTitle**<br /> * **title** : [Transform](Transform)\<string\><br /> * **MOnFocus**<br /> Called when component gets or loses focus<br /> * **onFocus** : (**focus** : bool) -> void<br />
-
MMenuIndent
Adds indent to every menu item, even if it has no primary action. -
MSingleSelection
Helpers for easier selection, for advanced stuff use MListSelection-
selected : DynamicBehaviour<int>
-
selected : DynamicBehaviour<int>
-
MDataTableFooter
-
MDataTableRow
-
MOpenMenu
-
opened : DynamicBehaviour<bool>
-
opened : DynamicBehaviour<bool>
-
MMaxHeight
-
height : double
-
height : double
-
MWidthByButton
-
MBelowButton
-
MWidth
-
width : double
-
width : double
-
MSelectedAlwaysOnTop
-
emptySelection : MMenuLine
-
emptySelection : MMenuLine
-
MShowTooltip
-
show : Transform<bool>
-
show : Transform<bool>
-
MCustomLineHeight
MNoFocus();-
height : double
-
height : double
-
MOpenOnClick
Intended for MDropDownMenu. -
MMenuShift
-
shift : Transform<Point>
-
shift : Transform<Point>
-
MFixPosition
Pin popup y coordinate : top or bottom.-
top : bool
-
top : bool
-
MCustomScale
-
factor : Transform<Factor>
-
factor : Transform<Factor>
-
MMenuCols
-
cols : int
-
cols : int
-
MLabel
Label in empty input-
label : string
-
label : string
-
MLeftIcon
Left icon
See MShowLeftButton for action button-
icon : string
-
style : [ MIconStyle ]
-
icon : string
-
MSameZorder
Don't change zorder on open menu-
same : bool
-
same : bool
-
MForceUpdate
if present we allow to update current by the same value (other words usenext
instead ofnextDistinct
inside) -
MBlockClicks
Block clicks outside menu -
MDropDownIconNearTitle
Intended for MDropDownMenu. Get rid ogf filler between title and icon.
-
-
MPrimaryAction
-
content : Material
-
content : Material
-
MDisableHover
-
MSubMenuOpenOnClick