Forum Discussion

Patrice's avatar
Patrice
Contributor
14 years ago

MSFlexGridWndClass is displayed as Window("MSFlexGridWndClass", "", 1) ??

Hi,



Some of my MSFlexGridWndClass Controls are displayed in the Object Browser as Window("MSFlexGridWndClass", "", 1), Window("MSFlexGridWndClass", "", 2),...etc....



How can i perform operations such as:



Searching for Records

Selecting Cells

Selecting Multiple Rows

Iterating Through Rows





Thanks a lot for your help,

Patrice


5 Replies

  • I made a little test VBproject with a MS Flex Grid in it. It is reporting to test complete as a VBObject and not a window. Try pointing at it with the Object Properties Window and see what it reports. Can you find out from the developer EXACTLY what flex grid this is? MS acquired a flex from someone else at some point. There are a number of grids, if memory serves, that call themselves Flex Grid.


  • Hi Lane, 



    1.What do you mean by: "Try pointing at it with the Object Properties Window":

    is it using the Object browser or the Object Spy ? They both show the same thing:




    Name: Window("MSFlexGridWndClass", "", 1)

    WndClass: MSFlexGridWndClass






    2. I have access to the code but the Flex grid is in a PictureBox.

    Even in Design Mode, the PictureBox is showed as  Name: Window("PictureBox","",1).

    A developer is going to show me what exactly is in that PictureBox.



    I need something that would make this particular Window("MSFlexGridWndClass", "", 1) to behave like a VBObject("MSFlexGridWndClass").



    Regards,

    Patrice
  • When you see the grid object in the object browser, what is the fullname? Around here, controls are sometimes put within picture boxes in order to aid in resizing. You can still get to the object within the picture box. When you look a the window for the grid in the object browser, do you see any child objects?



    I am not sure how much I can help without seeing your project and application under test, but I am game to try.