combo box with event (1 Viewer)

kitty77

Registered User.
Local time
Today, 09:17
Joined
May 27, 2019
Messages
693
I have a textbox that has an event when you double click. It checks if a file or folder exists. It works perfect.
I would like to change the textbox to a combo box but when I do that, the event will not work.

Any ideas?

Thanks.
 

vba_php

Forum Troll
Local time
Today, 08:17
Joined
Oct 6, 2019
Messages
2,884
well just saying "it doesn't work" isn't that helpful, kitty. I don't believe controls retain events that are written behind them if they are changed to another control through the interface of access. did yours retain the event code? so, to the question, you got anything more than "it won't work"?? c boxes have double click events. (just trying to pinpoint....
 
Last edited:

MajP

You've got your good things, and you've got mine.
Local time
Today, 09:17
Joined
May 21, 2018
Messages
8,463
Does the event property still say "[Event Procedure]" in the double click?
 

kitty77

Registered User.
Local time
Today, 09:17
Joined
May 27, 2019
Messages
693
I see what happens... When you change it, the Event Procedure goes away. You have to set it again and then the code is there again. Damn, something so simple.
My bad...
 

MajP

You've got your good things, and you've got mine.
Local time
Today, 09:17
Joined
May 21, 2018
Messages
8,463
When you change it, the Event Procedure goes away.
I believe you mean the "event Property" was cleared out not the "event Procedure". The event procedure is the code in the form.

 

Users who are viewing this thread

Top Bottom