I have an application where the user needs to select a certain line to begin a parsing action. My idea was to have a simple scrolling list where the user could select which line they wanted, when it was clicked the list would close and off the program goes.
I want to custom code the control though, to make it look as much like a normal textbox as possible, but highlight the line the user is currently selecting (and return the line number when it is clicked).
Of course I don’t just want the code for this, it’s something I need to learn to do; but are there any good resources that could help me create this new control? Especially the vertical scroll bar that will be needed (the text can be hundreds of lines long).
Thanks
Instead of creating your own custom control, why not just use a list box to store all the information that your potential use will want to select. All the features you are looking for are already built into the control. If I am missing something then please explain further.