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.

FormKeyPress

Empfohlene Antworten

Veröffentlicht

Hossa!

Also, wie ist es möglich eine Firma zu suchen, indem man einfach per Tastendruck den Namen eingibt?

Ich habe in einem StringGrid eine Liste mit Firmennamen und möchte jetzt einen Namen per Tastendruck raussuchen! Nur noch dieser Name soll erscheinen!

Hier mein bisheriger Code! Leider komme ich nicht mehr weiter! Den ersten Tastendruck bekomme ich hin, also erscheinen Alle Firmen, die z.B. mit 'T' beginnen!

ReadData ist eine Funktion, die die Firmen dann aufruft! Key ist der Buchstabe, der gedrückt wurde!

void __fastcall TFrFirmaDisplay::FormKeyPress(TObject *Sender, char &Key)

{

  if ((Key >= 'a') && (Key <='z')) {

    SelectFirstLimit = AnsiString(Key) + "%";

    ReadData();

  }

  if (Key == ' ') {

    SelectFirstLimit = "%";

    ReadData();

  }

})

Vielleicht kann mir ja jemand helfen, dass man ganze Namen eingeben kann!

Danke und Gruß

Hoeen

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.