how can I get the name of a form (or the form as object) to which a control belongs for example a menuitem. How can I get the form through the menuitem?
how can I get the name of a form (or the form as object) to
which a control belongs for example a menuitem. How can I get
the form through the menuitem?
Have a look at the Container property - it *might* be what you want,
but I'm not going to guarantee it In the case of MenuItem, you might
be best to get the Menu using the Parent property first, then get the
container of the Menu.
how can I get the name of a form (or the form as object) to which
a control belongs for example a menuitem. How can I get the form
through the menuitem?
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.