Tôi đang sử dụng các tập lệnh Delphi ... Tôi đã thử phương pháp AQString. & NBSP; Dữ liệu của tôi thực sự đến từ bảng tạm và sau đó được sao chép vào một biến. aqString.listSparator: = '#13'; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Tôi đã thử #13 #10, \ r \ n, #13.ListSeparator := '#13'; // I have tried #13#10, \r\n, #13 ShowMessage (myTextTowRite); & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; ; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; ShowMessage (aqString.getListLpm (myTextTowrite)); & nbsp; & nbsp; // Trong tất cả các nỗ lực được liệt kê ở trên, nó trả về giá trị 1, tôi đã thử '.' (giai đoạn) và nó trả lại một số lượng lớn không thể sử dụng trong trường hợp này.aqString.GetListLength(MyTextToWrite)); // in all attemps listed above, it returns the value 1, I tried '.' (period) and it does return a large number not usable in this case. Làm thế nào tôi nên chỉ định CRLF trong ListSeperator? Dưới đây là dán của những gì được ghi vào tệp bằng cách sử dụng ... (tệp chứa hơn 14000 dòng (331kb))) aqfile.writetotextfile (spath, mytexttowrite, aqfile.ctutf8);.WriteToTextFile(sPath, MyTextToWrite, aqFile.ctUTF8); ****** / TÌM HIỂU ********** Tiêu đề QA: GetQacurrentsCreeninfo Qa từ: frmrxpro.pgcmain.tbssummary.frasummary.pgcsummary.tbsdrug.fradrug.dbgrdsummary QA Début: 2012-03-05 11: 37: 24.278 ****** / TÌM HIỂU ********** Tiêu đề QA: GetQacurrentsCreeninfo Caption= Qa từ: frmrxpro.pgcmain.tbssummary.frasummary.pgcsummary.tbsdrug.fradrug.dbgrdsummary QA Début: 2012-03-05 11: 37: 24.278 [frmrxpro.pgcmain.tbssummary.frasummary.pgcsummary.tbsdrug.fradrug (tframesumdrug)]] Căn chỉnh: Alclient Alignwithmargins: Sai Neo: [Akleft, Aktop, Akright, Akbottom] Autoscroll: Sai Autosize: Sai Bidimode: BdleftToright Màu sắc: 13160660 Các ràng buộc: (TsizeConstrains) Các ràng buộc: MaxHeight: 0 Các ràng buộc: MaxWidth: 0 Các ràng buộc: Minheight: 0 Các ràng buộc: Minwidth: 0 CTL3D: Đúng Con trỏ: 0 CustomHint: (Tcustomhint) Docksite: Sai DoubleBuffered: Sai DragCursor: -12 DragKind: Dkdrag DragMode: Dmmanual Đã bật: Đúng Phông chữ: (tfont) Phông chữ: Charset: 1 Phông chữ: màu: -16777208 Phông chữ: Chiều cao: -11 Phông chữ: Tên: 'tahoma' Phông chữ: Định hướng: 0 Phông chữ: Sân: fpdefault Phông chữ: Kích thước: 8 Phông chữ: Phong cách: [] Chiều cao: 535 HelpContext: 20100 HelpKeyword: '' HelpType: HTContext Dấu: '' Horzscrollbar: (Tcontrolscrollbar) Horzscrollbar: nút: 0 Horzscrollbar: màu: -16777196 Horzscrollbar: Tăng: 8 Horzscrollbar: lề: 0 Horzscrollbar: ParentColor: Đúng Horzscrollbar: Vị trí: 0 Horzscrollbar: phạm vi: 0 Horzscrollbar: Kích thước: 0 Horzscrollbar: mịn: sai Horzscrollbar: Phong cách: Ssregular Horzscrollbar: Thumbsize: 0 Horzscrollbar: Theo dõi: Sai Horzscrollbar: Có thể nhìn thấy: Đúng Trái: 0 Biên độ: (Tmargins) Biên độ: dưới cùng: 3 Biên độ: trái: 3 Lợi nhuận: Phải: 3 Lợi nhuận: Top: 3 Tên: 'Fradrug' Đệm: (TPADDING) Đệm: dưới cùng: 0 Đadding: trái: 0 Đệm: Phải: 0 Đệm: Top: 0 ParentBackground: Đúng ParentBidImode: Đúng ParentColor: Đúng ParentCTL3D: Đúng ParentCustomhint: Đúng ParentDoubleBuffered: Đúng ParentFont: Sai ParentShowhint: Đúng Popupmenu: (tpopupmenu) Showhint: Sai Taborder: 0 Tabstop: Sai Tag: 0 Top: 0 Chạm: (TtouchManager) Chạm: Gesturemanager: (TcustomgestureManager) Touch: Tương tác lớn nhất: [Igopansinglefingerhorizontal, Igopansinglefingervertical, Igopaninertia, IgoparentPassthrough] Touch: Tương tác lớn hơn: [Igpan, Igpressandtap] Chạm: ParentTabletOptions: Đúng Chạm: TabletOptions: [Topressandkeep] Vertscrollbar: (tcontrolscrollbar) Vertscrollbar: nút: 0 Vertscrollbar: màu: -16777196 Vertscrollbar: Tăng: 8 Vertscrollbar: lề: 0 Vertscrollbar: ParentColor: true Vertscrollbar: vị trí: 0 Vertscrollbar: phạm vi: 0 Vertscrollbar: kích thước: 0 Vertscrollbar: mịn: sai Vertscrollbar: phong cách: ssregular Vertscrollbar: ngón tay cái: 0 Vertscrollbar: Theo dõi: Sai Vertscrollbar: có thể nhìn thấy: đúng Caption=&Dossier: Có thể nhìn thấy: Đúng Chiều rộng: 982 QA Début: 2012-03-05 11: 37: 24.278 [frmrxpro.pgcmain.tbssummary.frasummary.pgcsummary.tbsdrug.fradrug (tframesumdrug)]] Alignwithmargins: Sai Neo: [Akleft, Aktop, Akright, Akbottom] Autoscroll: Sai Autoscroll: Sai Autosize: Sai Bidimode: BdleftToright Màu sắc: 13160660 Các ràng buộc: (TsizeConstrains) Các ràng buộc: MaxHeight: 0 Các ràng buộc: Minheight: 0 Các ràng buộc: Minwidth: 0 CustomHint: (Tcustomhint) Docksite: Sai DoubleBuffered: Sai DragCursor: -12 DragCursor: -12 DragKind: Dkdrag DragKind: Dkdrag DragMode: Dmmanual Đã bật: Đúng Phông chữ: (tfont) Phông chữ: Charset: 1 Phông chữ: màu: -16777208 |