How do I view the control or display object? This means that it is displayed on screen so that no scrolling is needed.
Example: I have many controls on one form. The size of the form is more than the length / width of the screen, as a result, I need the scrollbar. How do I check that the control is on the screen?
This is a less elegant solution, but if not one more answer, you can try to do this :
If you want to check that component's X and Y (or just wi if you are interested in height) on the screen or off-screen.
Then compare the total height of the application or the container of that component.
Comments
Post a Comment