Retrieve from edit box

In this category you can exchange your programming questions and solutions.
Post Reply
cvirus
Posts: 88
Joined: Tue Jan 12, 2010 8:33 pm

Retrieve from edit box

Post: # 708Post cvirus
Mon Feb 28, 2011 10:25 am

how to get the value from a edit when a button is pushed?

or how to get values from the several windows objects?

Thank you. ::)

Bob Hays
Posts: 26
Joined: Sun Oct 03, 2010 4:49 pm

Retrieve from edit box

Post: # 709Post Bob Hays
Mon Feb 28, 2011 10:55 pm

Lets say you have an edit control called "EditBox1" and a string variable "S".

     S=EditBox1.Text

If the Text is a number then convert the text into a number with val(EditBox1.Text).

cvirus
Posts: 88
Joined: Tue Jan 12, 2010 8:33 pm

Retrieve from edit box

Post: # 710Post cvirus
Tue Mar 01, 2011 8:10 pm

Thank you for the reply, this is like vb, and is it the same for the other windows objects?

Thank you. :D

Post Reply