Hi,
In continuation with our discussion, with this generic function, as we clear
the text box like vControl.text="", how can we uncheck a check box. Because
when I say this vControl.checked=false, it gives an error. Any idea about
this. If possible, can you let me know where I can find these type of
information.
Regards
Sudhakara.T.P.
> "Cor Ligthert [MVP]" wrote:
>
> > Sudhakara,
> >
> > I did not completly try this routine, however I think that it fullfils your
> > needs.
> >
> > \\\
> > doset(MyTabControl)
> > ///
> > \\\
> > Private Sub doSet(ByVal parentCtr As Control)
> > Dim ctr As Control
> > For Each ctr In parentCtr.Controls
> > ctr.Text = Nothing
> > doSet(ctr)
> > Next
> > ///
> > This should set every control in your tabcontrol to its initial state.
> > (Assuming that you did not set something using the designer)
> >
> > Every control inherits from control from which text is a property.
> >
> > I hope this helps,
> >
> > Cor
> >
> > End Sub
> >
> >
> >
|