Splitting a split container

  • Thread starter Thread starter TN
  • Start date Start date
T

TN

I have a application where I want to at runtime create splitcontainers
within splitcontainers. I created a splitcontainer and added a
contextmenu to it. When I catch the opening event of the context menu I
capture the sourcecontrol which is the splitcontrol. Problem is I need
to get which panel (1 or 2) is is active so I can add the new
splitcontainer to it. I tried activecontrol property but it is null.
Can anyone point me in a direction?
Thanks.
 
Use the Focused property.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top