Manipulating a textbox input

Associate
Joined
25 Jul 2003
Posts
935
Location
London
Hi,

I am trying to send a value that is entered in a text box to some flash memory.

RCFlashIndexAppend(Board,0,50,1,"textBox1");

Will this method of pointing to the textbox work? Or do I have to some how save the input beforehand.

Thanks
 
Well I have no idea what language and API's you are using so I doubt anyone else does either, that would be some helpful information. Genrally in programming a double quote enclosed piece of text is treated as a String so you are passing in a String which contains "textBox1" and not the contents of the text box. You may not get an error because the method "RCFlashIndexAppend()" is probably expecting a string and your giving it an explicit String, not the contents of the text box.

As I don't know your programming language I can't really advise you but this is what I would do if I was programming in Java:

String contents = textbox1.getText();
someMethod(<params...>, contents);
 
Thanks for you reply.

Im am using C++. Sorry, should have stated that.

So how would I do that in C++? Any tutorials on this issue?
 
Back
Top Bottom