aaron,
firstly, i'd recommend that you take a look at the examples that come with the
latest build of Win32::GUI.  jenda seems to have a separate zip file with just
the examples on his site jenda.krynicky.cz.  the examples are quite expansive
and provide the pseudo-documentation that can help to get you started.

but, to ans your ques:
getting/setting text in a textfield is by:
$txtEdit->Text("text to put in textfield");
or
$cText = $txtEdit->Text();

destroying a window? do you mean running the Terminate event? like:
sub frmMain_Terminate {
     # do termination stuff
}
and you would just call it as frmMain_Terminate().  maybe this is not what you
are asking?

to make the [tab] key work, you must be in a dialog, not a window (at least in
this build).  i believe that aldo is working on getting it to work on all
windows.  this is a bit of a bother, but the user can deal with it for this
version of your app (they'll be so much happier with your progress in the next
version! ;) )

good luck.





Aaron Dalton <[EMAIL PROTECTED]> on 02/08/99 04:31:07 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (Sundar Raman/MW/US/3Com)
Subject:  [perl-win32-gui] TextFields




Another question :)  I can't find any documented method for returning
the contents of a Textfield.  Thanks for any help!

Cheers!
Aaron :)

P.S.  I'm still looking for a way to destroy a window and make the [TAB]
key move between Textfields.

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d+ s+:+>: a->? C+++ ULC>+++ P++++$ L>+++ E-
W++$ N++(+) o>+ K++ w-- O@ M-- V PS-- PE++ Y+ PGP+
t+ 5+++ X+(++) R tv+ b+++ DI++(+++) D++ G e>+++
h+>---- r y-
------END GEEK CODE BLOCK------








Reply via email to