There is no built-in property for displaying a text hint when TRichViewEdit is empty (we are considering to add it in future updates).
But you can implement it using OnPaint event:
Has this been implemented yet ? Having the ability to define a placeholder RVF file would be amazing!
Also, this doesn't work for a blank TRichView as ItemCount = 0
if not PrePaint and
((Sender.ItemCount = 0) or
((Sender.ItemCount = 1) and (Sender.GetItemStyle(0) >= 0) and (Sender.GetItemText(0) = ''))) then
The original condition (assuming an empty text item) did not included this check, because a placeholder text usually make sense in editors, not in viewers.
OK thanks. I hope that you'll consider adding it for both viewers and editors in the future. A placeholder also makes sense in a viewer when it is waiting from data from a DB or a remote service... to avoid displaying an empty blank content to the end-user.