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.

VBA -> Fokus setzen auf Listenfeldeintrag

Empfohlene Antworten

Hallo,

wie kann ich unter Access mit VBA den Fokus auf ein Element eines Listenfeldes setzen bzw. eine Element eines Listenfeldes markieren?

Gruß

JayN

hi, ich kenne es nur aus vb, weiss also nicht, ob es unter vba genauso geht und/oder ich an der frage vorbei antworte...

ich denke mal, dass du das control meinst, welches in vb listview heisst? dann waere es:


    listview.listitems.item(index).selected = true

    listview.listitems.item(index).ensurevisible

hoffe, es hilft...

habe das ganze in access ausprobiert und keinen erfolg gehabt.

kam aber ueber die tolle hilfe zu dem ergebnis:


listenfeld.selected(index) = -1

sollte genau das sein, was du meintest.

hoffe, es hilft

Hallo,

danke für euch Hilfe, das war genau das, was ich brauchte.

Komisch, ich hatte mir die Selected-Eigenschaft auch mehrmals in der Hilfe angeschaut, aber immer nur so verstanden, dass zurückgegeben wird, ob der Listenfeldeintrag markiert ist. Hatte wohl ein Brett vor'm Kopf! :D

Danke nochmal.

JayN

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.