From: Javier Ruere <javier_ruere@HotPOP.com> - 2003-05-28 20:57:21
-----BEGIN PGP SIGNED MESSAGE-----
The control does not automatically save its value to a variable but you
can retrieve the text in a wxTextCtrl with the GetValue method.
Also read about wxValidator which can transfer data between controls
and variables in one step.
Cook, Alan wrote:
> I have created several wxTextCtrl windows that I want to type text
> into. I then want to "get" this text value, and apply it in an
> expression. Does wxTextCtrl automatically save its contents as a
> variable that can then be called by something else?
> I am basically working on a program that requires a user to input IP
> address, User name and password into 3 separate fields. I then need to
> read this information into a Telnet routine to connect with the end
> device. I have the Telnet routine worked out, but cannot get the
> information I type into the fields to be saved somewhere that I can
> retrieve it again.
> Any help would be appreciated.
> Alan Cook
> *_alanc@... <mailto:alanc@...>_*
Q: How many IBM CPU's does it take to execute a job?
A: Four; three to hold it down, and one to rip its head off.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----