Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ComPort unf Cursor

Empfohlene Antworten

Veröffentlicht

Hallo!

Ich weiß nicht ob mir jemand von euch helfen kann. Ich soll sowas wie Hyperterminal programmieren.

Habe das fast fertig ,das Problem beim Test ist nur, dass der Cursor im Memo-Feld immer wieder ganz hochrutscht und mir dadurch alles bereits im Memo Feld geschriebene nochmal mit überträgt. Grad mal das wesentliche aus dem Quelltext:

procedure TFrmMain.MemEmpfKeyDown(Sender: TObject; var Key: Word;

Shift: TShiftState);

var str : string;

begin

str := memempf.Text;

if (Key=VK_Return) then

begin

ComPort1.Writestr(str);

end;

end;

procedure TFrmMain.ComPort1RxChar(Sender: TObject; Count: Integer);

var

str : string;

begin

ComPort1.ReadStr(str,Count);

memempf.Text:= memempf.Text + '>' + str;

end;

Jetzt soll aber nach jeder Übertragung der Cursor unter dem Übertragenen stehen und mir das eben nimmer mitsenden. hat irgendwer von euch ne idee wie man das ändern könnte???

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.