/ Forside / Teknologi / Udvikling / C/C++ / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
C/C++
#NavnPoint
BertelBra.. 2425
pmbruun 695
Master_of.. 501
jdjespers.. 500
kyllekylle 500
Bech_bb 500
scootergr.. 300
gibson 300
molokyle 287
10  strarup 270
Clear Memo field in Borland C++
Fra : Christian RD


Dato : 25-05-02 14:58

Hi! NG

I want to clear a Memo field in Borland C++ how do I do that?

I print out some text in the field and want to be able to delete it again,
clear it.


Thanx


Christian



 
 
Ivan Johansen (26-05-2002)
Kommentar
Fra : Ivan Johansen


Dato : 26-05-02 17:41

Christian RD wrote:

> I want to clear a Memo field in Borland C++ how do I do that?
>
> I print out some text in the field and want to be able to delete it again,
> clear it.

To clear everything:
Memo1->Lines->Clear();

To remove line 10:
Memo1->Lines->Delete(10);

Ivan Johansen


Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408925
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste