Difference between revisions of "Placard"

From Xojo Documentation

(Notes)
 
Line 1: Line 1:
 +
{{DeprecatedItem|version=2021r3}}
 
{{ClassBox
 
{{ClassBox
 
| super=[[RectControl]]
 
| super=[[RectControl]]

Latest revision as of 20:35, 17 September 2021

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 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.