Hello Aldo,
среда, Апрель 28, 1999, you wrote:
AC> Max Kozlov wrote:
>>Hello perl-win32-gui,
>>
>> i new in Win32::GUI and have small problem in my test script:
>>...
AC> give the Label -height => 50 and you'll see what's happening ;-)
AC> text is wrapping, eg.:
AC> this happens because if you don't give -width and -height, it
AC> is calculated based on the initial -text.
AC> when you change it, it is not automatically adjusted.
AC> maybe what you're looking for is -truncate => 1.
AC> this way you loose only some of the final dots ;-)
ok, i get it and it work, but why initial text (with spaces!) dont
wrapped ?
and many options (-frame, -fill) work strange... i get black
rectangles, no text at all and some other strange behaviours...
also in this code i try to get 2 levels of submenu, but get only one:
$M = new Win32::GUI::Menu(
"&File" => "File",
" > &Open" => "Open",
" > &Save" => "Save",
" > -" => "-",
" > &More..." => "More",
" >> More&1" => "More1",
" >> More&2" => "More2",
" >> More&3" => "More3",
" > -" => "-",
" > E&xit" => "Exit",
"&About" => "About"
);
cant see submenu in "more" (more1, more2, more3)
where i wrong ?
may be i need more_click sub. ?
Best regards,
Max mailto:[EMAIL PROTECTED]