hiya
I have a Unkown control object, and i'd like to get the parent Form object.
I dont see anything in the API that can give me the parent form
Other than doing a search up the tree, is there an easier way ?
Regards
Getting parent form
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Use:
Jenö
Ranorex Team
Code: Select all
Dim parentForm As Ranorex.Form = yourControl.FindSingle(Of Ranorex.Form)("ancestor::form")
Ranorex Team