Disclosure Triangle Example?

Anybody have an example of how I can use a disclosure triangle? Having look at the example projects, I cannot find anything. And the docs do not really seem to explain it properly. It explains what it does but there is no explanation on how it can be used and what it used for.

I want to use it to disclose a groupbox and open a groupbox. Is there a method that is already setup for me to do this or something similar?


A disclosureTriangle’s just like a pushbutton but with a togglable Facing property (0 or 1 for right or down); you need to use the Action command to show the groupbox using yourGroupBox.Show, and so on.

Thanks. I was thinking more of using the groupbox’s caption property rather than a label to represent what is being opened and disclosed but this is an approach I did not think of.