Is form visible to the eye

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

is there a way to determine whether a form is visible on screen or not. I
don't mean is it .Visible or .Hide() but can the user actually see the form
(be it focused or not)

For that matter can it be detemined exactly how much of the form is visible.

tia

paul
 
Hi all,

is there a way to determine whether a form is visible on screen or not. I
don't mean is it .Visible or .Hide() but can the user actually see the form
(be it focused or not)

For that matter can it be detemined exactly how much of the form is visible.

tia

paul

If any of the values in the Location property are negative, or there is less
real estate to the right or bottom of the form than the forms width or height,
then part of the form is not visible on an empty screen. Doing the math
according to the above will tell you how much of the form is visible

Finding out if it is hidden by another form is a different matter and I look
forward to learning how to get that information too.

Good luck with your project,

Otis Mukinfus

http://www.otismukinfus.com
http://www.arltex.com
http://www.tomchilders.com
http://www.n5ge.com
 
Back
Top