Dropdown event equivalent?

E

Earl

Anyone know the equivalent event to an eVB dropdown event? I want to capture
the previous value in a combo so the user can cancel the change if desired.

I've tried Mousedown, Keydown, and Click. No joy.

SelectedIndexChanged, SelectedValueChanged, and TextChanged are post-change
events.
 
G

Guest

There's no equivalent to the dropdown event exist in CF. The only workaround
for your situation that comes to mind (I know it's not pretty) is to have
some variable where you can keep the previouse value of the last index
selected in the combobox.
 
E

Earl

You are right -- it's one of the ugliest ducklings I've ever seen. With two
combos that interact and cause a save record event, I have had to create a
set of flags and two previous value variables. I'm not quite done dealing
with the interactions, but it will work.

I'm constantly amazed at the amount of work developers have to go through
because, on one hand, the controls "had to be kept consistent with the
desktop version", and on the other hand, the CF was gutted in order to keep
the footprint small. Sheeeeesh.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top