seafalcon
16 years agoContributor
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(Id, Refresh)
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?