Posted: 2 Jan 2019 5:49 EST Last activity: 2 Jan 2019 22:35 EST
Reset Controls for a UI
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***