XDSBadge

Table of Contents

Display Alpha/Numeric characters in a simple recognizable bubble. Provided as a control AND as a callable function, that returns a Badge Picture, for use anywhere!

Version: 2023r1

Properties #

BageColor as ColorText as String
Style as XDSBadgeFunctions.BadgeStyleTextColor as Color

Methods #

NONE

Events #

Standard Xojo DesktopUIControl Events in addition to:

Action()

Notes #

Badge can also be invoked by a method to return a Picture object from the XDSBadgeFunctions module using:

XDSDrawBadge( Style as XDSGraphicsFunctions.BadgeStyles, BadgeText as String, 
BadgeColor as Color = &cFF0000, TextColor as Color = &cFEFEFE )

BADGE ENUMERATIONS

XDSBadgeFunctions.BadgeStyles

Rounded = 0Square = 1