S simonlee11 Member Licensed User Longtime User Feb 18, 2011 #1 can anyone provide or point me in the right direction for a simple example of how to multiply the values of two text boxes and display the answer in a third i know this is probably kids stuff but i am very green when it comes to b4a. :sign0085:
can anyone provide or point me in the right direction for a simple example of how to multiply the values of two text boxes and display the answer in a third i know this is probably kids stuff but i am very green when it comes to b4a. :sign0085:
K kickaha Well-Known Member Licensed User Longtime User Feb 18, 2011 #2 the easiest and quickest way: Textbox1.Text = Textbox2.Text * Textbox3.Text Note - this will fail if the text in either textbox2 or Textbox3 is not a number, and you may have problems with floating point numbers but this is the basic method. Upvote 0
the easiest and quickest way: Textbox1.Text = Textbox2.Text * Textbox3.Text Note - this will fail if the text in either textbox2 or Textbox3 is not a number, and you may have problems with floating point numbers but this is the basic method.
S susu Well-Known Member Licensed User Longtime User Feb 20, 2011 #3 kickaha said: Note - this will fail if the text in either textbox2 or Textbox3 is not a number Click to expand... Just select Input Type = Numbers in Designer. Upvote 0
kickaha said: Note - this will fail if the text in either textbox2 or Textbox3 is not a number Click to expand... Just select Input Type = Numbers in Designer.