Discussions
Categories
Groups
Advertisement
Child Item
Home
Topics
Technology & Internet
Software & Web Development
Development
Perl TK problem
raido9
Hi all,
I'm new to perl tk and having a little problem writing a gui.
What I intend to do is have an array of | Label | Entry Box | Browse button |
When I click the browse button it opens getOpenFile where I can select the file. When I click open I want the file to be entered into the entry box.
The part I'm having trouble with is returning the file selected to the entry box.
Any help/suggestions?
Find more posts tagged with
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
Advertisement
Advertisement
Comments
BrandonBlock
You need to give the entrybox a variablename - Example:
$myEntryBox = $parent->Entry();
$fileSelected = $myEntryBox->get();
This will store what you want in $fileSelected variable.