Relocating a Control on screen and setting it to top-most

U

Udi

Hi,
I have a listbox and a textbox that are built and shown dynamically.
My problem is that their positions and sizes may cause them to be
displayed out of the their parent form bounds, and in a worse case out
of the screen bounds.
1. How do I make sure my controls will always be displayed inside the
screen?
2. How do I set a control as top-most?

(I guess what I'm looking for is a way to show a control on screen
coordinates, regardless to it parent location)

Thanks!
 
G

Guest

(I guess what I'm looking for is a way to show a control on screen
coordinates, regardless to it parent location)

Ummmm... the controls really ought to be on the form. Perhaps you should try
..Visible=false to _hide_ the controls when you don't want them?
 

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

Top