ColorRGBA
Note
ColorRGBA is declared as an empty Enum block (with a placeholder [_MAX] = 0 member) only because twinBASIC has not yet exposed a type-alias syntax such as Type ColorRGBA = Long. The source carries a FIXME comment noting the stand-in. Treat ColorRGBA as a Long-compatible type alias rather than as an enumeration with named members; when alias syntax becomes available, the enum stand-in will be replaced.
A Long-compatible type alias used wherever a 32-bit ABGR colour value is expected. The high byte is the alpha channel — &HFF000000 is fully opaque, &H00000000 is fully transparent — and the low three bytes follow the standard vbBlue/vbGreen/vbRed order used by the ColorConstants Long-coloured constants. Carried by FillColorPoint.Color and by the RGBA parameter of FillColorPoints.SetSolidColorRGBA / Borders.SetSimpleBorderRGBA.
To write a fully-opaque colour, OR-in the opaque alpha mask: &HFF000000 Or vbBlue. The convenience setters FillColorPoints.SetSolidColor and Borders.SetSimpleBorder take a normal three-byte Long colour and apply the opaque mask for you; only the *RGBA variants take a raw ColorRGBA.
Dim translucentRed As ColorRGBA = &H800000FF& ' 50% alpha, full red