Hi i started to use synedit but when change to another form and lose the focus don't gat back the focus of cursor again... on pic you can on syna..c efect and other pic is the properties i setup..
Here code i used to gabe focus agai..
procedure TFormMain.DefaultDataHandler();
var pos:Tpoint;
begin
Pos.x:=0;
Pos.Y:=1;
DpSerial.OnRxData :=nil;
DpSerial.OnRxData := @dpSerialRxData;
MTerminal.ClearAll;
Mterminal.ExecuteCommand(ecEditorBottom, '',nil);
MTerminal.SelectionMode:=smNormal;
MTerminal.SetBookMark(0, 1, 1);
Mterminal.BlockBegin:= pos;
sleep(50);
DpSerial.WriteData(char(27));
MTerminal.SetFocus;
end;