This is the AddTextfield code i have that you were asking for there is no way that i have found (looked all over the net and my books) to do an enter event for this Widget. I.E. i want to have an event handler for when the user hits the ENTER key inside this Widget, so that i can invoke the same code that happens if they use the mouse to click the "Update Wafers" button.
my $lotid = $main->AddTextfield(
-name => "lotid",
-keepselection => 1,
-top => $row0,
-left => $col1,
-width => 125,
-height => 20,
-font => $t_font,
-readonly => 0,
);
The other question about changing the size of the ComboBox Widget independantly of the Dropdown size or FONT was my intention. As memtioned before i can make the font smaller and its size will decrease, i just thought maybe i could get rid of some of the whitespace that resided on top and bottom of the FONT that im using. I ended up just decreasing the size by 2 pts and it fits fine now.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.