Placard

From Xojo Documentation

Revision as of 14:09, 28 June 2019 by PLefebvre (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from RectControl)

Used to add a placard to a window. A placard is a control that you can use as an information display or as background fill for a control area. Placards have three states: normal, pressed, and disabled.

Events
Closing DropObject MouseExit
ConstructContextualMenu KeyDown MouseMove
ContextualMenuAction KeyUp MouseUp
DragEnter MouseDown MouseWheel
DragExit MouseDrag Opening
DragOver MouseEnter


Properties
Active fa-lock-32.png LockRight Tooltip
AllowAutoDeactivate LockTop Top
AllowTabStop MouseCursor Transparent
Enabled MouseX fa-lock-32.png TrueWindow fa-lock-32.png
Handle fa-lock-32.png MouseY fa-lock-32.png Value
Height Name fa-lock-32.png Visible
Index fa-lock-32.png PanelIndex Width
Left Parent Window fa-lock-32.png
LockBottom Scope fa-lock-32.png
LockLeft TabIndex


Methods
AcceptFileDrop AcceptTextDrop Invalidate
AcceptPictureDrop Close Refresh
AcceptRawDataDrop DrawInto SetFocus

Notes

fa-info-circle-32.png
On macOS, Placard is not a native control and does not automatically change its appearance in dark mode.

Perhaps the most familiar use of the Placard control is as a small information panel, often placed at the bottom of a window to the left of the horizontal scroll bar.

See Also

RectControl class; Canvas control.