本文整理自网络,侵删。
procedure TForm1.Memo1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);beginMemo1.SelStart := LoWord(SendMessage(Memo1.Handle, EM_CHARFROMPOS, 0, MakeLParam(X, Y)));Memo1.SelLength := 0;end;
相关阅读 >>
Delphi dbexpress的upwherekeyonly的使用注意事项
Delphi application.processmessages
Delphi tms web core webhttprequest1 解析json
Delphi xe8在firemonkey tlistbox中显示图像
Delphi 2009 新增单元 character[1]: toupper、tolower - 字符与字符串的大小写转换
更多相关阅读请进入《Delphi》频道 >>