19-10-2009, 01:04 PM
اكتب الكود في حدث
onkeypress
onkeypress
كود :
var
x : integer;
begin
x:=pos(key,Edit1.Text);
if (x>0 ) Then
showmessage('This Character is found at location# : ' + inttostr(x));
end;
