Forum Discussion

exdunepilot's avatar
exdunepilot
Contributor
9 years ago

No Flex property to differentiate between displayed objects

We have a series of Flex "panels" where only 1 is displayed at a time.  The others occupy the same space, but are in back & not visible.  The problem is I cannot find a property in TestComplete or Flex Native APIs to differentiate which panel is currently viewable.  Normally I would check: Visible, VisibleOnScreen, Focus, Active, Enabled, etc.  In this instance for example, all "panels" have VisibleOnScreen & Visible properties = true.  So in essence, TestComplete thinks all are available & ready to interact with.  Any thoughts on what Flex property to use or how else to resolve?

6 Replies

  • baxatob's avatar
    baxatob
    Community Hero
    Hi,

    First of all check Height/Width properties of the panels. They can be invisible by setting its values =0.
    • exdunepilot's avatar
      exdunepilot
      Contributor

      Thanks for the reply.  Unfortunately, all the height & width properties of the different panels are the same (>0).