If Cod_movListBox.SelectedIndex = 1 Then
Textbox1.Text = "-" & Textbox1.Text
Else
If Textbox1.Text.StartsWith("-") Then Textbox1.Text = Textbox1.Text.Substring(1)
End If
Acho que assim dá...
Herbert Lausmann
Marcado como RespostaMSantoliquarta-feira, 26 de março de 2014 17:47
If Cod_movListBox.SelectedIndex = 1 Then
Textbox1.Text = "-" & Textbox1.Text
Else
If Textbox1.Text.StartsWith("-") Then Textbox1.Text = Textbox1.Text.Substring(1)
End If
Acho que assim dá...
Herbert Lausmann
Marcado como RespostaMSantoliquarta-feira, 26 de março de 2014 17:47