SetWindowLong(edtSockPort.Handle, GWL_STYLE, GetWindowLong(edtSockPort.Handle, GWL_STYLE) or ES_NUMBER);