摘要:
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);var CurText: String; CurPos, CurLng: integer;begin if key ='''' then begin key := #0; CurText := TEdit(Sender).Text; CurPos ... 阅读全文
摘要:
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; ListBox1: TListBox; procedure Memo1K... 阅读全文