>I have a Windows Form, that has a Panel, that has a textbox/button combo on it. When I click the button, I'd like a search window to popup right next to the Textbox. I'm not really sure how to reference the location so that I can achieve this. I've tried the following code in the click event of the button, but it doesn't do seem anything.
>
>SearchPopUp.Location = this.Location;
>
>Any ideas? Thanks!!
>
>bob
One of the ways I do this kind of thing is to have this function actually on the form as another panel but behind a different panel with other controls and maybe not visible. Then I either make it visible and bring to the front or just bring to the front. I also have a switchable controler class that lets me switch out controls on the form. If you want it to be a seperate form that pops up like you show then it would seem setting the location would work if it is contained inside something to reference from. Are your forms contained inside a MIDI form?
Tim
Timothy Bryan