I want to write a 'Clear All' function that can be called from anywhere in my application that will Loop through all the controls on the Form from which the function is called, identify which ones are [for instance] TextBoxes, ListBoxes & ComboBoxes and then clear their contents - setting them to nothing or "" . . .
I've been searching the VB Help for 'control type', 'object type' 'type' 'controltype property' 'collections' - no luck.
I've seen this done in VB - but it was a long time ago & I just can't think of any other keywords to search for.
I'd appreciate any pointers.
Thanks!
Robeen
I've been searching the VB Help for 'control type', 'object type' 'type' 'controltype property' 'collections' - no luck.
I've seen this done in VB - but it was a long time ago & I just can't think of any other keywords to search for.
I'd appreciate any pointers.
Thanks!
Robeen