Hi all,
I am trying to create a search text box that references a list box control.
The idea is to allow a user to type information into a text box, and have the
list box immediately move to the selection as it is being typed.
I found code referencing the hWnd property of the listbox. The problem is
that there is no hWnd property for a listbox in Access, or at least I can't
seem to find it.
I am using Access 2002 SP-1.
Thus; List1.hWnd does not exist. Yet, whereever I see code referring to
using the hWnd property, everybody uses something like List1.hWnd?? What am I
missing?
Thanks,
Craig
Alex Dybenko - 27 Apr 2005 16:50 GMT
Hi,
Access controls are differ from windows controls, and they have hwnd only
when have focus.
you can get a reference to listbox as object and then loop through it items
and select which one you need using VBA methods

Signature
Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com
> Hi all,
>
[quoted text clipped - 18 lines]
> Thanks,
> Craig