By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,997 Members | 1,098 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,997 IT Pros & Developers. It's quick & easy.

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

P: n/a
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!

May 18 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> (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?
May 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.