Forum Discussion
quessev
11 years agoOccasional Contributor
Unfortunately VisibleOnScreen is set to false for all the listiitems.
I think I found a way to solve my problem.
The problem only occurs when windows explorer is configured to show file details. In that case the explorer window contains a header displayed at the top of the file list showing file attributes: Name, Size, ... The first item is displayed under that header. When looking object properties with Object browser Top property of the first element is set to 36. But this works only on the first page. When you hit PageDown twice to display netr page Top property of the first list element is set to 5. That item is flagged Visible but you cannot see it because it is hidden by the header.
The header is in a List object and it is called 'En-tĂȘte' on my french system. I suppose it is called 'Header' on an english one. So I have to check the existence of that object and get its height. When a list item has a Top property less than header height item is not visible.
It seems to work fine.
I think I found a way to solve my problem.
The problem only occurs when windows explorer is configured to show file details. In that case the explorer window contains a header displayed at the top of the file list showing file attributes: Name, Size, ... The first item is displayed under that header. When looking object properties with Object browser Top property of the first element is set to 36. But this works only on the first page. When you hit PageDown twice to display netr page Top property of the first list element is set to 5. That item is flagged Visible but you cannot see it because it is hidden by the header.
The header is in a List object and it is called 'En-tĂȘte' on my french system. I suppose it is called 'Header' on an english one. So I have to check the existence of that object and get its height. When a list item has a Top property less than header height item is not visible.
It seems to work fine.
Related Content
- 12 months agoSiKing
- 2 months agoNicolaFilosa_SE
- 3 years agonewbe
- 2 years agoMdar
- 3 months agoMadhuLambu
Recent Discussions
- 10 hours agotramuntana
- 2 days agoSlickRick