textbox text convert to 0. instead of .
  • When i press " ." in textbox then comes that text "0." how can i make that event....?
  • 1 Comment sorted by
  • hi you can try this on textbox's text_changed event do below code on it.


    private void textBox4_TextChanged(object sender, EventArgs e)
    {
    if (textBox4.Text == ".")
    {
    textBox4.Text = "0.";
    textBox4.Select(textBox4.Text.Length, 0);
    }
    }

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Tagged

Popular Posts of the Week

    Optimum Creative