Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

combo dropdown event?

5 views
Skip to first unread message

Will_456

unread,
Jul 16, 2009, 4:53:49 PM7/16/09
to
I'm trying to convert a vb project where a combo box populates with
previously used choices. It's a little complicated as the choices also
depend on what is already chosen in other combo boxes.

In my VB project the list is populated on the combo dropdown event. RB
doesn't appear to have this.
I've tried most events but can't find which one is triggered when the
user clicks the dropdown button.
Any help with this please?

Dale Arends

unread,
Jul 17, 2009, 12:49:43 PM7/17/09
to
Will_456 <wi...@nospam.com> wrote in news:xrM7m.5410$ze1.4997@news-
server.bigpond.net.au:

In the combo's mousedown event, try deleting all rows and then adding
rows as you test the values of the other controls to see what to add.
After the rows have been added, return true from the mousedown event so
the system will handle the combo box properly.

- Dale

Will_456

unread,
Jul 17, 2009, 6:42:06 PM7/17/09
to

Thanks I tried it. The Mousedown event seems to be the closest to the vb
dropdown although I haven't tried it on Mac yet.
The Change event seems to handle the vb Click event and the TextChanged
is triggered when you type in rather than choose from the list.
Thats all I need, thanks.

0 new messages