I have a form with 2 Tedit fields, 2 buttons and a memo field.
I can edit the tedit fields and I can tab to the buttons and the memo field.
When I am on the tedit or buttons they are highlighted showing me that they are selected.
When I am over the memo I don't see a curser and no keyboard input is accepted.
What am I doing wrong?
It sounds like your TMemo control is not receiving focus properly, which is why you're not seeing a cursor and cannot type into it. Here are a few common things to check and try:
Ensure TMemo.Enabled := True;
If Enabled is set to False, it will not accept focus or input. Check: In the Object Inspector or in code:
Ensure TMemo.ReadOnly := False;
If ReadOnly = True, you won't be able to type into it (but you should still see a cursor).
Check:
Try this minimal example in a new project:
procedure TForm1.FormCreate(Sender: TObject);
begin
Edit1.Text := 'Edit me';
Edit2.Text := 'Or me';
Memo1.Lines.Text := 'Try typing here...';
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Memo1.SetFocus;
end;
If you post your code/unit that helps us to help you