MDI Form Click Event Detection

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I use Vb.Net with the Framework 1.1. I am coding a MDI form. I want to
show a context menu when the user right-clicks in the gray area of the mdi
form. The event MdiForm_Click doesn't fire. Why? Is there a workaround?

Thanks,
C.
 
Conceptor said:
I use Vb.Net with the Framework 1.1. I am coding a MDI form. I want to
show a context menu when the user right-clicks in the gray area of the mdi
form. The event MdiForm_Click doesn't fire. Why? Is there a workaround?

Assign the context menu to the form's 'ContextMenu' property.
 
Thanks for your fast reply.
I am using a ComponentOne ContextMenu Object. It won't convert to the
ContextMenu type when I try to set the ContextMenu property. I am pursuing
the solution of asking ComponentOne directly, but I want to know if there is
a way to catch events on the gray area.
 
Back
Top