Autor Beitrag
DXC
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 61

WINXP + SP2
D6 Pers, D2005 Pers
BeitragVerfasst: Di 23.08.05 14:15 
Hi,

ich hab jetzt mal in mein RichEdit ein Caret eingebunden...

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure THauptForm.ConsoleKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
 if CreateCaret(Console.Handle, CaretImage.Picture.Bitmap.Handle, 0, 0) then
    ShowCaret(Console.Handle)
 else
    RaiseLastOSError;
end;


Console = RichEdit...

Nur irgendwie funzt das nicht .... :gruebel:

MFG
DXC
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 23.08.05 14:20 
user profile iconDXC hat folgendes geschrieben:

Nur irgendwie funzt das nicht .... :gruebel:

VERDAMMT NOCH MAL. Ist es denn so schwer mal eine gescheite Fehlermeldung oder Fehlerbeschreibung zu posten? :evil:
DXC Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 61

WINXP + SP2
D6 Pers, D2005 Pers
BeitragVerfasst: Di 23.08.05 14:41 
VERDAMMT NOCH MAL es kommt keine :shock: :wink:

MFG
DXC

// Es bleibt alles normal (das caret verändert sich nicht)
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 23.08.05 14:47 
bei mir blinkt er kurz invertiert auf, sicher dass der code an der richtigen stelle sitzt ?
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 23.08.05 14:47 
Deswegen hab eich ja auch noch geschrieben: Fehlerbeschreibung. Woher sollen wir wissen, dass lkeine kommt? :roll:
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 23.08.05 14:53 
diese methode scheint net so wirklich zu funzen, vielleicht mal nach einer alternative suchen, so wie der code da ist (ist auch so im eh) funzt er nicht, im eh steht auch was von memo, aber das ist denke ich egal.
DXC Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 61

WINXP + SP2
D6 Pers, D2005 Pers
BeitragVerfasst: Di 23.08.05 15:06 
Ja unterm Memo funzt es wunderbar...

Sorry find aber nix anderes, kennt da jemand ne lösung...

MFG
DXC