If you are going to be adding two numbers, i would recommend using the
numericeditor field instead of a textbox.
You could use the Event Wizard and set up an event for your button
when it is clicked. Your code would look something like this:
Private Sub btnButton1_Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnButton1.Click
'// ** Place Event Handling Code Here **
nedNumberbox3.value = nedNumberbox1.value + nedNumberbox2.value
txtTextbox3.value = CDec(txtTextbox1.value) + CDec(txtTextbox2.value)
End Sub
This shows how you would add from a numericeditor field and from a
generic textbox field. Keep in mind that when using a textbox, this
doesn't check to make sure what you are adding can be converted into a
number. If you try to add anything with letters or symbols it will
error. This is just an example that you can expand upon. Hope it helps.
--- In vantage@yahoogroups.com, Bartosz Niemczewski
<bartoszniemczewski@...> wrote:
like text in 3rd textbox. I know that is Visual Basic but when I
create standard procedure on click button trying sum everything not
working.
numericeditor field instead of a textbox.
You could use the Event Wizard and set up an event for your button
when it is clicked. Your code would look something like this:
Private Sub btnButton1_Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnButton1.Click
'// ** Place Event Handling Code Here **
nedNumberbox3.value = nedNumberbox1.value + nedNumberbox2.value
txtTextbox3.value = CDec(txtTextbox1.value) + CDec(txtTextbox2.value)
End Sub
This shows how you would add from a numericeditor field and from a
generic textbox field. Keep in mind that when using a textbox, this
doesn't check to make sure what you are adding can be converted into a
number. If you try to add anything with letters or symbols it will
error. This is just an example that you can expand upon. Hope it helps.
--- In vantage@yahoogroups.com, Bartosz Niemczewski
<bartoszniemczewski@...> wrote:
>and i am trying to create procedure to sum 2 textboxes and give sum
> yes i am asking how to do this , I just have textboxes and button
like text in 3rd textbox. I know that is Visual Basic but when I
create standard procedure on click button trying sum everything not
working.
>
> thanks.
>
>
>
> ----- Original Message ----
> From: laidig.systems <laidig.systems@...>
> To: vantage@yahoogroups.com
> Sent: Friday, April 11, 2008 8:37:33 AM
> Subject: [Vantage] Re: Customization 803
>
> You can definitely do that. Are you asking how to do this? If so,
> how far along are you?
>
> --- In vantage@yahoogroups .com, Bartosz Niemczewski
> <bartoszniemczewski @...> wrote:
> >
> > Hello,
> > Is anybody use customization in Vntg 803 ?
> > I'm going create new sheet and put 2 textboxes. I am going put
> values and find sum for this 2 textboxes in 3rd textbox after click
> button.
> >
> > thank you.
> >
> > Bart.
> >
> > ____________ _________ _________ _________ _________ __
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail. yahoo.com
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>