Hi
I got a problem. I have just moved over for a bit from BCB
to VC++.NET 2003 and am struggling with just one function,
namely the TextBox->Lines->Clear().
It says it takes an array as the first argument, the index
to start at for the next and finally the total number of
items to clear. So I try this:

tbOutput->Lines->Clear(tbOutput->Lines,0,tbOutput->Lines-
>Count);

as I Suspected this does not work. How do I clear a Text
Box (Using multi-line property == true, so its like a
memo).

Thanks for any help
-CT-

Re: Question on Clearing a multi-line text box by Claes

Claes
Mon Dec 15 03:09:18 CST 2003

tbOutput->Text = "";

/claes


"CT" <anonymous@discussions.microsoft.com> wrote in message
news:02d701c3c0dd$b90f5100$a101280a@phx.gbl...
> Hi
> I got a problem. I have just moved over for a bit from BCB
> to VC++.NET 2003 and am struggling with just one function,
> namely the TextBox->Lines->Clear().
> It says it takes an array as the first argument, the index
> to start at for the next and finally the total number of
> items to clear. So I try this:
>
> tbOutput->Lines->Clear(tbOutput->Lines,0,tbOutput->Lines-
> >Count);
>
> as I Suspected this does not work. How do I clear a Text
> Box (Using multi-line property == true, so its like a
> memo).
>
> Thanks for any help
> -CT-