4

I have a form with a speedbutton linked to a TMultiView component. On the multiview I have some buttons. When clicking on any of the buttons I want the multiview to close and depending on the clicked button, different functions to be called. I have tried to set the Visible property of my MultiView to false, but the shadow over the form then remains. If I click on the speedbutton again, then menu disappears, and also the shadow, as expected. Is there a way to solve this?

I'm using Deplhi XE 8.1

RRUZ
  • 134,889
  • 20
  • 356
  • 483
Lars Ljungberg
  • 313
  • 1
  • 6
  • 19

1 Answers1

12

Multiview.HideMaster will close the multi view. Call this whenever/wherever you want the multiview to close.

ThisGuy
  • 1,405
  • 1
  • 24
  • 51