Albert said:
in ms-access we get
a much better combo for forms..but do get the same combo in a menu bar that
VB, excel and all others get since the menu bars (system) is common to all
of office.
---> Excuse my ignorance but is the MS Access combo an ActiveX control (if
not, what then is it?)
It is a native control that is part of ms-access. It is certainly possible
(likely) that it does call the windows sets of api to make the combo box
work. So, perhaps there is some type of wrapper to the windows api going on
here. However, it is not a activeX control. For example, each control in VB
as a hwnd (handle), but ms-access controls do NOT have a handle, EXCEPT when
they have the focus. (if you look in the properties for a control in
ms-access, there is NO hwnd exposed, but there IS one for the whole form).
As mentioned, the combo box for ms-access runs circles around the lame vb
one (no not in list event, no before update event, no previous data, no
after update event (not sure on this one...I think you use the change
event..but ms-access has both!), no allowing of multiple columns, No auto
expand on text column, but storing of the key id (actually the vb combo can
do this..but is limited to two columns...not "many" like in ms-access). No
allowing for stuffing sql into the rowsouce without making a connection
string. And, I don't believe the VB combo supports use a function name for
the data source like ms-access does (you can bind the combo to a function in
ms-access, and use that as the data source for the combo).