kazzx Posted December 9, 2009 at 03:01 PM Report Share #299478 Posted December 9, 2009 at 03:01 PM viva, como faço para quando acrescento ou diminuo um valor no objecto NumericUpDown, o valor que lá está seja adicionado a uma Label. basicamente sempre que acrescentar ou diminuir o valor do NumericUpDown quero que esse valor apareça numa label. Link to comment Share on other sites More sharing options...
ribeiro55 Posted December 9, 2009 at 03:06 PM Report Share #299480 Posted December 9, 2009 at 03:06 PM E já tentaste sequer? 😄 Private Sub NumericUpDown1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NumericUpDown1.ValueChanged Label1.Text = NumericUpDown1.Value.ToString End Sub Sérgio Ribeiro "Great coders aren't born. They're compiled and released""Expert coders do not need a keyboard. They just throw magnets at the RAM chips" Link to comment Share on other sites More sharing options...
kazzx Posted December 9, 2009 at 03:35 PM Author Report Share #299484 Posted December 9, 2009 at 03:35 PM então se eu quiser fazer aparecer uma msgbox com o número da label? do género, aparecer uma msgbox a dizer 'O número da pessoa é 13' .. tipo isso. Link to comment Share on other sites More sharing options...
paulo silva Posted December 9, 2009 at 03:37 PM Report Share #299485 Posted December 9, 2009 at 03:37 PM msgbox( "O número da pessoa é" & label1.text ) Link to comment Share on other sites More sharing options...
kazzx Posted December 9, 2009 at 03:39 PM Author Report Share #299486 Posted December 9, 2009 at 03:39 PM thanks : ) eu tinha posto msbox("O numero da pessoa é", & lbl1.text &) tinha o & a mais então . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now