VB 6.0 - user control(textbox +listview)
Asked By Pitts Rukks
01-Feb-10 06:55 AM
Dear all,
I want to create a user control including a textbox and a listview.
When user types text in the textbox, the listview will automatically
scroll to the row that like that matches search criteria.
Help pliz.
Regards,
Pitts Rukks.
Robbe Morris replied to Pitts Rukks
Post the code you are having problems with. As a general rule, people where will not just write the code for you.
user control(textbox +listview)
Alright Morris I got u'a reply.
Let me try to make it clearer.
I have created the usercontrol - joining a textbox and a listview.
The listview is meant to display records that best match the user's input on the textbox. My problem is not filtering the records - that I am doing comfortably.
Where I need help is to highlight the record/row that matches the 'criteria' in the listview - simultaneously as the user types text in the textbox. Ideally that is why I am creating a user-control since in the normal environment I cannot use '.SetFocus' for more that one control at the same time.
Robbe Morris replied to Pitts Rukks
I think in Vb 6.0, this can be accomplished by setting the selected item. If that doesn't work, then your easiest bet "might" be to use a grid control for your list instead of the ListView. I know you have a lot more control over each row's styling.
There may be better ways. I haven't written in VB 6.0 much less a windows forms app in so many years that I just don't remember. VB 6.0 is largely dead for new development. Most companies have moved onto either windows forms in .net or WPF in .NET.

Where is the WPF Newsgroup. . . .NET Framework I am looking for a WPF Newsgroup because I have a WPF listview related question? Any help here. . . Visual Studio .NET Discussions WPF (1) VB (1) WinFX (1) GregoryBeamer (1) Beamer (1) Codenames (1) Listview (1) Siteid (1) They are in Microsoft's forums instead. I will have to find s forums" and got dead. . . Any more help. . . I'd suggest that you post your WPF questions in a forum dedicated to the .NET language you are using and see what
Ancho de TextBox en ListView (WPF) .NET Framework Tengo un text box dentro de un list view: HorizontalAlignment = "Stretch"> < / TextBox> Pero ajuste al ancho de la columna? .NET Fx 3.0 VS 2008 Saludos: Jesús López VB.NET - Spanish Discussions ListView (1) TextBox (1) WPF (1) OzYT (1) HorizontalAlignment (1) Encontrada (1) Ancho (1) Tengo (1) Encontrada la solución aquí http: / / forums.msdn.microsoft.com / en-US / wpf / thread / 6d87285a-d1e4-4c98-8b57-b1b73407a1e0 / Saludos: Jesús López keywords: Ancho, de, TextBox, en, ListView, (WPF) description: Tengo un text box dentro de un list view: GridViewColumn Header = Price Width = 90
C# WPF ListView > ItemsSource > SORTING Problem Hi, i´d make a descending & ascending Sorting Order for a itemsSource ListView(code below). There is really strange behavior. Sometimes its sorted correct sometimes completly wrong. Sometimes uses dependancy properties to apply sort. Hi I'm write code my project.but in vb.net , you can convert code using developerdfusion.com Private _CurSortCol As GridViewColumnHeader = Nothing Private _CurAdorner Sub Here full code http: / / weblogs.asp.net / marianor / archive / 2007 / 12 / 14 / sorting-a-listview-data-source-in-wpf.aspx Thank you www.codegain.com end of post end of post end of post
WPF listview selected item / index problem .NET Framework I have a strange WPF problem with a Listview. The listview contains a list of media files. The first column of GridView is a button which play within the app. Clicking the button will set the selected index / item of the listview corrrectly (I have a label I am now using to debug and are showing the listview.selectedindex). If I populate the listview I can use the down arrow to navigate the listview with the following problems: 1
API for WPF C++ / VB Hello all, I was wondering, is there an unmanaged API for using Windows Presentation Foundation (or WPF-like)? Regards. VC MFC Discussions Office 2007 (1) Windows 7 (1) Office (1) Vista (1) XAML (1) WPF (1) VB (1) XP (1) I'm not sure how WPF-like it is, but here is a tantalizing abstract from an upcoming PDC talk: http built into Windows 7, and so it will not be supported on XP / Vista like WPF is. - - David on an t, d Now that makes me wonder why would MSFT do this? Does it not compete with WPF? - - Ajay MS has a history of competing their groups with similar products, throwing them into