GlyphColumn¶
Qualified name: delphifmx.GlyphColumn
- class GlyphColumn¶
Bases:
ColumnMethods
TControl.AbsoluteToLocal() Converts the screen coordinates of a specified point on the screen to client coordinates.
TControl.BringToFront() Puts the control in front of all other controls in its parent control.
Returns True if the column can show a value editor or False otherwise.
TControl.CanFocus() Indicates whether a control can receive focus.
TGlyphColumn.DefaultDrawCell(Canvas: Canvas, Bounds: RectF, Row: int, Value: Value, State: GridDrawStates) -> None Draws the default cell background.
TGlyphColumn.GetImageIndex(Value: Value) -> int Returns the index of the image specified by Value.
TGlyphColumn.GlyphPlaceIntoBounds(Index: int, Bounds: RectF, Scale: float) -> RectF Returns the rectangle in which to draw the Index image.
TControl.LocalToAbsolute() Translates a given point from client area coordinates to global screen coordinates.
TControl.PrepareForPaint() Prepares the current control for painting.
TControl.Repaint() Forces the control to repaint its image on the screen.
TControl.ResetFocus() Removes the focus from a control of from any children of the control.
TControl.SendToBack() Puts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls.
TControl.SetBounds(Left, Top, Width, Height) Sets the Left, Top, Width, and Height properties all at once.
TControl.SetFocus() Gives the input focus to the control.
Attributes
AbsoluteClipRectSpecifies the absolute rectangle of the control after all its parent controls clip it.
AbsoluteEnabledSpecifies whether the control is absolutely enabled.
AbsoluteHeightSpecifies the absolute height of the control.
AbsoluteMatrixSpecifies the absolute transformation matrix of the control.
AbsoluteOpacitySpecifies the absolute opacity of the control.
AbsoluteRectSpecifies the absolute rectangle that bounds the control.
AbsoluteScaleSpecifies the absolute scale of the control.
AbsoluteWidthSpecifies the absolute width of the control.
ActionSpecifies the action associated with the control.
ActionClientSpecifies whether the component object has an associated action.
AlignSpecifies the alignment options (top, left, client, and so on) of this control.
AnchorsSpecifies how the control is anchored to its parent.
ApplyingEffectA flag that signals when a control is in the process of applying an effect.
AutoCaptureSpecifies whether the control captures mouse events.
AxisAlignedRectA TRectF defined by the width and height of the control.
BoundsRectSpecifies the bounding rectangle of the control.
CanParentFocusSpecifies whether the parent of this control should be evaluated to receive focus.
CanvasProvides the drawing surface of the control.
ChildrenStores an array of children attached to this parent component.
ChildrenCountRead-only property that specifies the number of children in the children list.
ChildrenRectSpecifies the bigger rectangle area occupied by parent and children controls.
ClassNameReturns the TObject.ClassName
ClipChildrenSpecifies if children of the control should be clipped to the control's on-screen region.
ClipParentSpecifies whether the current control has clipped its parent.
ClipRectSpecifies the bound rectangle to be clipped.
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
Returns an iterator over contained controls
Returns the count of contained controls
CursorImage to use to represent the mouse pointer when it passes into the region covered by the control.
DataStores a Tvalue, which is a data structure that can store different kinds of data types.
DefaultSizeEmbarcadero Technologies does not currently have any additional information.
DefaultTextSettingsDefault text settings.
DesignInfoContains information used by the Form designer.
DisableDisappearEmbarcadero Technologies does not currently have any additional information.
DisableFocusEffectSpecifies whether the control has the focus effect disabled.
DragModeSpecifies how the control initiates drag-and-drop operations.
EditorStateSpecifies the current state of the cell editor.
EffectiveVisibleIndicates whether this column is visible (True) or not (False).
EnableDragHighlightSpecifies whether the control is highlighted when the dragged object is over it.
EnabledSpecifies whether the control responds to mouse, keyboard, and timer events.
FixedSizeEmbarcadero Technologies does not currently have any additional information.
Reference to a glyph interface supported by the PresentedControl using this glyph column and the current data model.
HasAfterPaintEffectSpecifies whether the control has an effect that is applied after the control is painted.
HasClipParentControl that is a direct child of this control and has clipped this control.
HasDisablePaintEffectSpecifies whether the control's effect is painted.
HasEffectSpecifies whether the control has an applied effect.
HeaderSpecifies the string in the header cell of the column.
HeaderSettingsHeaderSettings:
HeightHeight specifies the vertical size of the control (in dp).
HintSpecifies the text string that appears when the user moves the mouse over a control.
HitTestEnables the control to capture mouse events.
HorzAlignEmbarcadero Technologies does not currently have any additional information.
HorzAlignModifiedEmbarcadero Technologies does not currently have any additional information.
InEditModeDetermines what column is in edit mode.
InPaintToSpecifies whether the control is currently being painted.
IndexSpecifies the index of the child object in the children array attached to this object.
InheritedCursorImage used to represent the mouse pointer when it passes into the region covered by the control.
InvertAbsoluteMatrixSpecifies the inverse matrix of AbsoluteMatrix.
IsDragOverSpecifies whether a dragged object is over the area of the current control.
Determines whether the control has input focus.
IsInflatedWhether the current style of this control has been actually applied to the control.
IsMouseOverSpecifies whether the mouse cursor is over the control.
IsVisibleSpecifies whether the control is visible.
LayoutThe current text layout that is used to draw text in cells.
LocalRectSpecifies the local rectangle for painting the control.
LockedSpecifies whether the control is locked at design time.
MarginsAligns the component to the margins points of other components.
ModelThe reference to the data model of the parent control.
NameSpecifies the name of the component as referenced in code.
ObserversIndicates the TObservers object added to the TComponent.
OnGestureCallable[[Object, GestureEventInfo, bool], None]:
Callable[[Column, Value, int], None]:
OpacitySpecifies the control opacity.
OriginalIndexEmbarcadero Technologies does not currently have any additional information.
OwnerReturns the Component Owner
PaddingThe padding of any cells in this column
ParentReturns/Sets the Control Visibility
ParentControlSpecifies the parent control of this control.
ParentedRectSpecifies the bounding rectangle of the control within its parent.
ParentedVisibleSpecifies whether all the control's parents are visible.
PopupMenuSpecifies the context (pop-up) menu object.
Returns an access to the position of the control inside its parent
PresentedControlThe reference to the control using this column and the data model.
PressedIndicates whether the control is currently pressed.
PressedPositionA point that indicates where exactly on the control the click occured.
ReadOnlySpecifies whether the cells in this column can be edited or not.
RootSpecifies the root parent of this object.
SceneSpecifies the current scene in which the control is drawn.
ShowHintSpecifies whether the Hint can be shown.
SizeSpecifies the vertical and horizontal size (Size.Height and Size.Width) of the control (in pixels).
StoredSpecifies whether this object is stored in the .XFM file.
Specifies whether to stretch the image shown in the glyph control.
StyleNameSpecifies the style name for this FMX component.
TabOrderIndicates the position of the control in its parent's tab order.
TabStopEmbarcadero Technologies does not currently have any additional information.
TagStores a NativeInt integral value as a part of a component.
TagFloatCustom property that stores any floating-point value.
TagObjectCustom property that stores any object value.
TagStringCustom property that stores any string value.
TouchSpecifies the touch manager component associated with the control.
TouchTargetExpansionSet of optional pixel values you can specify to expand the touch target of a FireMonkey styled control.
UpdateRectSpecifies the rectangle area of the control that needs to be updated.
VCLComObjectRepresents information used internally by components that support COM.
Returns/Sets the Control Visibility
WidthSpecifies the horizontal size of the control (in pixels).
- AbsoluteToLocal()¶
Converts the screen coordinates of a specified point on the screen to client coordinates.
- BringToFront()¶
Puts the control in front of all other controls in its parent control.
- CanEdit()¶
Returns True if the column can show a value editor or False otherwise. FMX.Grid.TGlyphColumn.CanEdit inherits from FMX.Grid.TColumn.CanEdit. All content below this line refers to FMX.Grid.TColumn.CanEdit. Returns True if the column can show a value editor or False otherwise.
See Also
FMX.Grid.TColumn.EditingCancelled FMX.Grid.TColumn.EditingDone FMX.Grid.TColumn.EditorModified FMX.Grid.TColumn.PostEditorValue FMX.Grid.TColumn.RefreshEditor
- CanFocus()¶
Indicates whether a control can receive focus.
- Controls¶
Returns an iterator over contained controls
- ControlsCount¶
Returns the count of contained controls
- DefaultDrawCell(Canvas: Canvas, Bounds: RectF, Row: int, Value: Value, State: GridDrawStates) None¶
Draws the default cell background. FMX.Grid.TGlyphColumn.DefaultDrawCell inherits from FMX.Grid.TColumn.DefaultDrawCell. All content below this line refers to FMX.Grid.TColumn.DefaultDrawCell. Draws the default cell background. DefaultDrawCell receives the following parameters:
Canvas is the canvas where DefaultDrawCell paints the cell background. Bounds indicates the cell boundaries. Row is the row number. Value is the cell value. State is the drawing state of the cell. DrawCell calls DefaultDrawCell if Model.DefaultDrawing is True.
See Also
FMX.Grid.TColumn.DrawCell FMX.Grid.TColumn.BeforeDrawing FMX.Grid.TColumn.AfterDrawing
- GetImageIndex(Value: Value) int¶
Returns the index of the image specified by Value. GetImageIndex returns the index of the image corresponding to the specified Value. Index is in a list of images specified in TGrid.Images.
- GlyphInterface¶
Reference to a glyph interface supported by the PresentedControl using this glyph column and the current data model.
- Type:
IGlyph
- GlyphPlaceIntoBounds(Index: int, Bounds: RectF, Scale: float) RectF¶
Returns the rectangle in which to draw the Index image. Stretches and aligns the original rectangle of the Index image, preserving its rectangle proportions, to best fit into the Bounds rectangle. GlyphPlaceIntoBounds implements algorithm like the following:
If the Stretch property of the current TGlyphColumn object is False, then GlyphPlaceIntoBounds retrieves the biggest rectangle from all layers of the Index image in the destination collection stretched to the Scale = 1. Then GlyphPlaceIntoBounds stretch the obtained rectangle, preserving its rectangle proportions, to best fits into the specified Bounds rectangle. Then GlyphPlaceIntoBounds aligns this rectangle in the Bounds rectangle using the default alignment parameters of the current column. GlyphPlaceIntoBounds returns the obtained rectangle. If the Stretch property of the current TGlyphColumn object is True, then GlyphPlaceIntoBounds retrieves the biggest rectangle from all layers of the Index image in the destination collection with the Scale used in the layer. Then GlyphPlaceIntoBounds stretch the obtained rectangle, preserving its rectangle proportions, to best fits into the specified Bounds rectangle. Then GlyphPlaceIntoBounds aligns this rectangle in the Bounds rectangle using the default alignment parameters of the current column. GlyphPlaceIntoBounds returns the obtained rectangle.
- IsFocused¶
Determines whether the control has input focus.
- LocalToAbsolute()¶
Translates a given point from client area coordinates to global screen coordinates.
- OnGetImageIndex¶
Callable[[Column, Value, int], None]:
- Position¶
Returns an access to the position of the control inside its parent
- PrepareForPaint()¶
Prepares the current control for painting.
- Repaint()¶
Forces the control to repaint its image on the screen.
- ResetFocus()¶
Removes the focus from a control of from any children of the control.
- SendToBack()¶
Puts a windowed control behind all other windowed controls, or puts a non-windowed control behind all other non-windowed controls.
- SetBounds(Left, Top, Width, Height)¶
Sets the Left, Top, Width, and Height properties all at once.
- SetFocus()¶
Gives the input focus to the control.
- Stretch¶
Specifies whether to stretch the image shown in the glyph control.
- Type:
bool
- Visible¶
Returns/Sets the Control Visibility