Forum Discussion

seafalcon's avatar
seafalcon
Contributor
16 years ago

findId() is for web application?

According to the manual:



Description


Each object has its unique ID. To get a child object of the current one by the ID of this child object, use the FindID method.


Declaration



TestObj.FindId(IdRefresh)




























   TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

 
Id [in] Required Integer
Refresh [in] Optional Boolean Default value: True
Result Object  


Applies To



All processes, windows, controls and onscreen objects.



Parameters


The method has the following parameters:




Id



Specifies the object ID. The method returns the object that has the same ID.







for win form application, each object doesnt require a specific ID... So this findId trick may not work for winform application?





16 Replies