Autor Beitrag
DelphiN00b
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 27

Win 95, Win98, Win NT, Win 2k, Win XP
D6 Pers, D7 Enterprise
BeitragVerfasst: Sa 08.11.03 10:20 
Also in einer ComboBox steht zum Bleistift:
ausblenden Quelltext
1:
'Blabla$testBlabla					

Jetzt möchte ich das $test durch einen Text ersetzt wird:
ausblenden Quelltext
1:
'BlablaTADABlabla'					

Hier meine Procedure:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure TDCC.ComboBox2KeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
var VPos: Integer;
begin
    If Key = VK_Return then
      begin
       Vpos:=pos( '$test',ComboBox2.text);
       if Vpos > 1 then ...

Wie gehts jetzt weiter?

Moderiert von user profile iconTino: Titel geändert; Code- & Delphi-Tags hinzugefügt
JoelH
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 806
Erhaltene Danke: 17

Win10
Delphi Alexandria 11.2 Patch 1
BeitragVerfasst: Sa 08.11.03 11:42 
Titel: hmm,
so geht es weiter =>

www.delphi-forum.de/search.php

dort gibst du als suchworte =>

text ersetzen

ein und suchst nach

'Allen Worten suchen'

und landest dann auf einem Screen wo es unter anderen diesen link gibt =>


www.delphi-forum.de/...hlight=text+ersetzen

_________________
mfg. Joel
DelphiN00b Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 27

Win 95, Win98, Win NT, Win 2k, Win XP
D6 Pers, D7 Enterprise
BeitragVerfasst: Sa 08.11.03 12:04 
kuhl,
das geht ja sogar