Margret:
Thank you very much for the response. I will be trying what you suggest ASAP, but I do have a few questions first:
1) Is there any significance to the references to PanelMain, other than computing the size of the newly-added panel?
2) From your example Code, it would seem that these are the following relationships:
a) PanelMain is some panel in my own Main Activity, presumably at or near the full size of the screen area. PanelMain is not related in any way to the new configuration/selection panel I want to use.
b) pnlSelect is the added "overlay" panel which serves as a container for my other configuration/selection panels, and also to act as a Click-Stopper for any underlying Main Activity object clicks. pnlSelect is probably smaller than PanelMain. pnlSelect is a convenient view to allow quick and efficient removal of the overlay configuration panel(s) by using "pnlSelect.RemoveView".
c) pnlInput is my own full panel layout that I have already defined that contains all of my configuration seekbars and labels that the User uses to make his selections. pnlInput resides within pnlSelect.
3) In (2a) above, is it an absolute MUST that PanelMain exists? Is it a common practice to always have a panel in the Main Activity into which all other objects/views reside?
4) Does pnlSelect have to fully overlay all of the Main Activity area to intercept any/all Clicks?
5) Assuming I'm correct about what I said about PanelMain being a panel in the underlying Main Activity that probably covers most of the screen area, and therefore should be larger in comparison to pnlSelect, wouldn't the mw1 and mh1 calculations you show evaluate to negative numbers?
6) Does the "Select" in the "Select_Click" Sub's name specifically refer to the name "pnlSelect", or to the name in quotes in "pnlSelect.Initialize("Select")", or is it some keyword similar to "Button_Click" for a button?
Sorry for all of the questions.
Please correct me if I have stated anything incorrectly in my assumptions.