Вниз
Скачать: CL | DM;

Глючит RichEdit1.Perform(EM_CHARFROMPOS,0,0)   Найти похожие ветки 

← →
Alx2 ©   (2002-09-06 14:54) [0]

У меня сабж вызывает AV и в D5 и в D6.

unit Unit1;

interface

uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls;

type
TForm1 = class(TForm)
RichEdit1: TRichEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.Button1Click(Sender: TObject);
begin
RichEdit1.Perform(EM_CHARFROMPOS,0,0); // Вот тут и нарываюсь AV в riched20.dll. Интересно, я один такой? :)
end;

end.


← →
MBo ©   (2002-09-06 15:19) [1]

для richedit надо передавать указатель на TPoint
пример есть
http://delphi.mastak.ru/articles/dragndrop/index.html


← →
Alx2 ©   (2002-09-06 16:07) [2]

Спасибо, Борис. А то в хелпе ни слова не написали:(



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.012 c
14-68912
AL2002
2002-09-26 15:14
2002.10.21
Это будет жестоко?


3-68662
Barmutik
2002-09-30 12:20
2002.10.21
Midas ... выгребание большого курсора


1-68860
Пончик
2002-10-10 11:33
2002.10.21
FrontPage


3-68641
Senator
2002-09-30 09:56
2002.10.21
работа с 2 серверами


1-68842
User_OKA
2002-10-10 07:25
2002.10.21
Остановка цикла




   Наверх