Salutations Monks,
i am working with Win32::GUI, and i create a label using AddLabel
$lable = $main->AddLabel(
-text => 'temp',
-name => 'label_temp',
-top => '78',
-left => '10',
-font => $t_font,
-background => [255,255,255],
-foreground => [0,0,0],)
and once the label is created, i call the Win32::GUI::Dialog();
but i want to change what the label says after i call the Win32::GUI::Dialog();, but when i do
$label->Change(-text => "something else");
nothing happens, but if i put the change before the Win32::GUI::Dialog(); it works fine... i cant find alot of documentation in detail about it, but i was wondering if there was a -textvariable like in Tk... thanks monks
edited: Mon Jan 27 06:55:37 2003
by jeffa - title change (was: Win32::GUI)
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.