Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 512693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:20:45+00:00 2026-05-13T07:20:45+00:00

I am looking for a contol either listbox or listview to support my requirements.

  • 0

I am looking for a contol either listbox or listview to support my requirements.
Basically how my application looks is:

alt text http://img51.imageshack.us/img51/451/39967846.png

  1. The background should be black
  2. when the user clicks any ‘row’ the
    row should get highlighted witgh
    grey.
  3. The user will have the ability to
    search items in this control.

  4. For example , if one of the row
    displays ‘This is the second Item in
    this car’
    If the user searches for Car, that corresponding row(s)
    should get
    highlighted with pink.

    1. The user should be able to search an item in this contol and specify a number to display the lines below the searched row.

For example, if the user Searched for ‘car’ 5, the rows that have car should get highlighted and their immediate 5 rows.
I mean
Search Result :
car row
next row 1
next row 2
next row 3
next row 4
next row 5

car row
next row 1
next row 2
next row 3
next row 4
next row 5

  1. The user
    should be able to drag and drop the
    files and they should get opened in
    this ‘control’ i.e each row should
    display a new line till the EOF.

  2. The user
    will have the ability to right click
    on the row, context menu pops up
    displaying that row item.

  3. The contol
    should be able to display specific
    text items in a row(s) with
    different color.

Having said these things. I used to program in VC++6, VB6. But using those version now seems not realistic now as I lost touch. But if I have to use the latest 2008 versions, for which I do not have any experience seems scary.

So, If you are reading this , and you have got some experience in these fields or using controls that support my requirement, can you please let me know which programming language or IDE and Control should I use to develop this application.

PS: the image is made using mspaint and does not represent actual program.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:20:45+00:00Added an answer on May 13, 2026 at 7:20 am

    As for language I would suggest either C# or VB.Net. They are both great languages and there is tons of support on the Internet for them. Just pick the one you are most comfortable with. As for a control that does what you are asking,

    As for the control, it really depends on what platform you target. I have very little experience with WPF so can’t help you with that. However, if you want to use WinForms, I would suggest the ListView control. It provides a lot of flexibility in terms of how you can use it. You will need to write the code to identify the rows and highlight them, but that shouldn’t be too difficult once you understand how the ListView works.

    Here are a couple tips if you do use ListView:

    • Set ListView.View to Details (this provides you with a grid-like control)
    • Set ListView.HideSelection to false
    • Set ListView.FullRowSelect to true
    • Set ListView.BackColor to Black
    • Set ListView.ForeColor to White
    • You can hide the column headers by setting ListView.HeaderStyle to None
    • If you want to support selecting multiple rows, you can set ListView.MultiSelect to true
    • To highlight row, set the ListViewItem.BackColor and ForeColor

    The big let down of this control is that you don’t have much control over the color of selected rows. There are techniques out there to control this, but it’s not a simple property set. If you are interested, I think this question/answer might help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are currently looking at either using CAB or MEF for our next application.
I'm looking for an internal representation format for text , which would support basic
I'm looking for application-wide access to raw keyboard events in OS X, either using
I am looking for a control to add email addresses for a mailing application.
I'm looking for a good rich text control for Silverlight. The one on codeplex
I am looking for some help for a program I am developing. Basically, it
I'm looking for options to fill a Word Document from either Visual Basic, or
I'm looking for some JS or jQuery (either plugin or otherwise) to help me
Currently I'm looking for a way to either extend a standard <asp:TextBox /> control
I'm looking to add an advanced search capability to my ASP.NET/SQL Server 2005 application.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.