| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > Delphi: Общие вопросы > save line to txt file |
| Автор: muratboy31 11.2.2010, 12:26 | ||
why it doesnt save the combobox text to rapor.dat file ?
|
| Автор: Mikel 11.2.2010, 13:44 | ||
But it shouldn't save the text from combobox. May be you need this?
|
| Автор: muratboy31 11.2.2010, 14:01 | ||||
| thanks for helping Mikel but it deletes all the lines in the rapor.dat... i want to add line to rapor.dat from combobox... i just want it to save combobox.text and save it to rapor.dat... not all combobox items... before.... in rapor.dat file :
after... combobox.text : Blair in rapor.dat file :
|
| Автор: Mikel 11.2.2010, 14:21 | ||
And why do you invert them? Try this:
|
| Автор: muratboy31 11.2.2010, 14:24 |
| Mikel THANKS ALOOOOOOTTTTTTTTT perfect help... just another question; is it possible not to save the same text to rapor.dat ? if there is a text Blair in rapor.dat then dont save it to rapor.dat... |
| Автор: Mikel 11.2.2010, 14:36 | ||
You may check the index of line to insert in text file before inserting:
|
| Автор: muratboy31 11.2.2010, 14:44 |
| i understand it, thanks alot... |