Kevin,
When dealing with ActiveX controls, you need to make them invisible when you don't want to see them. You can't just hide (or shrink) the VFP container they're in. So, in your code that collapses the container, simply add a this.oRichText.Visible = .f. (or whatever to make it specific to your situation).
HTH,
Chad
>I created a container class that has a Richtext control in it.
>
>When the user expands the container, the RichText is visible. When
>the control is collapsed, the RichText is hidden.
>
>At least thats how it's supposed to work. When collapsed, the Richtext
>is still visible.
>
>How can I make it disappear when the control is collapsed?
_________________________________
There are 2 types of people in the world: