Spoilers

General TRichView support forum. Please post your questions here
Post Reply
Martian
Posts: 95
Joined: Sun Apr 03, 2011 7:32 pm

Spoilers

Post by Martian »

Is there an example on how to implement spoilers?
I know there is a way to hide a text but I want to implement is as a spoiler.
I mean select text, press a button to hide it leaving [+]------ button (or picture) to show that spoiler.
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

The simplest way to implement spoilers is writing text having Color = BackColor. It will be visible only when selected.

As for making text hidden/visible on click, see the last demo here: http://www.trichview.com/forums/viewtopic.php?t=62
Post Reply