take inactive windows in runtime!

  1. 2 months ago

    Stefano B

    Aug 9 Pre-Release Testers, Xojo Pro

    through this little script I pick up the windows that are active inside the software, I would like to know how I can also take the windows that are not instantiated and active inside the project

       
    dim i as integer
      for i = 0 to WindowCount -1
        Dim t as Introspection.TypeInfo = Introspection.GetType(window(i))
         
        MsgBox t.Name
         
      next i
     

    I need to take dynamically the name of the windows that are not active but are residing inside the project!

  2. Dave S

    Aug 9 San Diego, California USA

    @Stefano B that are not instantiated

    then they do not exist..... other than as code that may or may not ever be executed

  3. Stefano B

    Aug 9 Pre-Release Testers, Xojo Pro

    @Dave S and by using xojo ide script can I create a procedure that reads windows from the id and inserts names into a constant?

  4. Dave S

    Aug 9 San Diego, California USA

    What do you plan to 'read' and how to you plan to figure out there is a non-instantiated window?
    If you are writing the code... place a dictionary in the code with the name prepopulated, the using your code from above you can determine if they are instantiated or not

  5. Stefano B

    Aug 9 Pre-Release Testers, Xojo Pro

    @Dave S Could you give me an example? I would need to know if you can put in a constant all the names of the window in xojo ide script!

or Sign Up to reply!