Autor Beitrag
del1312
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 190



BeitragVerfasst: Do 13.04.06 00:10 
ich hab hier 3 edit´s die jeweils auf 5 zeichen begrenzt sind, wie kann ich nun den fokus so setzten das sobald ein feld 5 zeichen hat der fokus auf das nächste edit zeigt? im prinzip wie man es kenn von software wo ein serial key eingegeben wird.
der Berliner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 417

Win Xp Home
delphi 2005
BeitragVerfasst: Do 13.04.06 06:56 
hi..
ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.Edit1Change(Sender: TObject);
begin
if length(Edit1.Text)=5 then Edit2.SetFocus;
end;


viel Spass
Gruß

_________________
[b]Ich weiß nicht immer, wovon ich rede. Aber ich weiß, dass ich recht habe.[b]
del1312 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 190



BeitragVerfasst: Do 13.04.06 10:38 
danke dir, klappt ;o)