Capturing record navigation from listbox navigation buttons (1 Viewer)

DonkeyKong

Registered User.
Local time
Yesterday, 18:40
Joined
Jan 24, 2013
Messages
61
I have a listbox. I have the AfterUpdate property working fine. I can keydown the keyboard arrow key and my AfterUpdate sub runs.

If I use the buttons on the listbox control to navigate the records the AfterUpdate does not trigger. I've scoured the web and found nothing. I need to capture these navigation button clicks or alternatively a on_change event.

Any help is appreciated.
:banghead:
 

Ranman256

Well-known member
Local time
Yesterday, 19:40
Joined
Apr 9, 2015
Messages
4,338
nav buttons do not pick an item. Enter or click triggers the update.

you may want the item 2 down, but you don't want the item only 1 down.
 

DonkeyKong

Registered User.
Local time
Yesterday, 18:40
Joined
Jan 24, 2013
Messages
61
I want to use it as a way to display the data in the record. The user presses the down or up arrow on the control and the next record title is selected. Subsequently, all other data on the form is updated so that you are always looking at similar data.

So I really do want just the next item. I want the next item to be selected as soon as it appears in the listbox area.

The way I see it is that SOMETHING was updated because the text in the listbox changed. So, is there a way to capture that event happening?
 

Users who are viewing this thread

Top Bottom