Question

2
Replies
71
Views
YogeshY6 Member since 2018 8 posts
MacQuarie Group Ltd
Posted: January 2, 2019
Last activity: January 2, 2019
Closed

Reset Controls for a UI

Hi All

I was checking for a best possible way to reset the values of all controls on a form. I have a

-main form, under that I have 2 tab control

-first tab have 6 group boxes and each group box have few text boxes, radio buttons, check boxes.

I can either go and hold each control and set the values to empty, but that would be really clumsy and code would grow for no reason. Is there any way like we do for a C# control, recursively hold the control and reset the value by comparing the type of control. I am checking for a solution like that only. Please suggest. Thanks

Happy new year :)

***Edited by Moderator: Pallavi to update platform capability tags***

User Interface Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn