C# IP address combo box

  • Thread starter Thread starter codymanix
  • Start date Start date
C

codymanix

I'm fairly new to this, and am trying to create a combo control that has
friendly names in the drop down area, and allows the user to type in (and
validate) an ip address in the edit box area.

I think that I have to create a descendant of the combo box, and trap the
keystrokes, validating the format of the entered stuff as I go.

combobox? why not simply a usercontrol with 4 numericupdown-controls? you
can if the user presses a key and in the control are 3 digits already set
the focus in the next textbox.
if the user leaves the usercontrol you cann then validate the entered IP
complete.
 
Hi there!

I'm fairly new to this, and am trying to create a combo control that has
friendly names in the drop down area, and allows the user to type in (and
validate) an ip address in the edit box area.

I think that I have to create a descendant of the combo box, and trap the
keystrokes, validating the format of the entered stuff as I go.

Is this correct?

Thanks

Hugh Creswell
 
Thanks for the reply, cody, but I really do want the combo box idea.
It is important that the user sees it as one control, that has the
friendly names in the drop down, but can enter the ip in the edit box
part.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top