Placard

From Xojo Documentation

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
Close DropObject MouseExit
ConstructContextualMenu KeyDown MouseMove
ContextualMenuAction KeyUp MouseUp
DragEnter MouseDown MouseWheel
DragExit MouseDrag Open
DragOver MouseEnter


Properties
Active fa-lock-32.png LockRight TabStop
AutoDeactivate LockTop Top
Enabled MouseCursor Transparent
Handle fa-lock-32.png MouseX fa-lock-32.png TrueWindow fa-lock-32.png
Height MouseY fa-lock-32.png Value
HelpTag Name 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 Close RefreshRect
AcceptPictureDrop DrawInto SetFocus
AcceptRawDataDrop Invalidate
AcceptTextDrop Refresh

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.