Hi,
I wanted to set IP Address for mask editor.
I have set value 000.000.000.000 to property mask of my control.
Now when I assign value 192.168.42.117, it accepts as 192.168.421.17_
It should be 192.168._42.117 or 192.168.42_.117
Another thing I found strange is I assign .Text property a particular value, after that I call .focus() method of that control and it removes the assigned value !
Like
maskControl.Text="192.168._42.117";
maskControl.Focus();
Now the value given i.e. "192.168._42.117" is gone !
Regards,
Divyesh Chapaneri
I wanted to set IP Address for mask editor.
I have set value 000.000.000.000 to property mask of my control.
Now when I assign value 192.168.42.117, it accepts as 192.168.421.17_
It should be 192.168._42.117 or 192.168.42_.117
Another thing I found strange is I assign .Text property a particular value, after that I call .focus() method of that control and it removes the assigned value !
Like
maskControl.Text="192.168._42.117";
maskControl.Focus();
Now the value given i.e. "192.168._42.117" is gone !
Regards,
Divyesh Chapaneri