Forum Discussion

vinTest's avatar
12 years ago

Working with Custom Controls



Hi All



I need to get the item count from a List box but when I spy on the object it comes as custom control and "ItemCount" properly is not available. 



object spy identify the control as



Sys.Process("Product Name").Window("#32770", "Past Medical History", 1).Window("cm_CustomControl", "", 1)



Can someone help me with this get the "ItemCount" from the custom control



Regards, Vindy

1 Reply

  • Anonymous's avatar
    Anonymous

    Hi Vindy,



    Let us know the value of the control's WndClass property (you can check it using the Object Browser). If the control is a .NET control, tell us the value of its ClrFullClassName property.

    Besides, it would be great if you answered the following questions:

    1. What is the name of the component used to implement the control?

    2. What language and IDE were used to create the application?

    3. What is the control vendor and version?