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.
 
Back
Top