|
-
Jan 4th, 2005, 12:49 AM
#1
Thread Starter
Hyperactive Member
Problem with listbox
I m using a listbox for help on the item, the data in the
listbox is comming from the table the sorted property
of listbox is true after feeling the data in the listbox the
focus is into the listbox here when in the listbox
i press any 3 keys the cursor should go to on that list row whose
first 3 alphbates matche with pressed alphabates
it is working for first time second time it doesnt work
what should i do to work it
-
Jan 4th, 2005, 03:29 PM
#2
Junior Member
Re: Problem with listbox
What you are doing should work.
Maybe your form is corrupted.
What's the row source for the ListBox?
-
Jan 4th, 2005, 03:51 PM
#3
Re: Problem with listbox
When you say it works for the first time but not the second, are you refering
to the key presses for an autofind listbox? So you are trying to select
entry "abc" and you type "a" it selects the first items that starts with an "a"
but when you press "b" it goest to the first items that starts with an "b"
instead of going to the first items that starts with an "ab"?
It should only work for the first key pressed and not for the second or third.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 5th, 2005, 06:16 AM
#4
Thread Starter
Hyperactive Member
Re: Problem with listbox
no i m not reffering to autofind listbox i have just kept sorted property to true
if my listbox is having 3 items list "abc","efg","hij" when i press first time abc it goes to that row then when i press efg it goes to the second row but when again i press abc it doesnt go
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|