[perl-win32-gui-users] Background colors

2002-12-13 Thread Dave Crawford
I'm looking for a way to set the background color for the text field on a Groupbox, but upon browsing the source code I see that Groupbox doesn't take a background (or foreground) option. Is there a workaround, using a font object perhaps? Or as a last resort is there a way to set the background

Re: [perl-win32-gui-users] set button as default

2002-12-13 Thread work
I think having 'enter' press a button while another control has focus can only happen in a dialog box. Try this: use Win32::GUI; my $dialogbox = new Win32::GUI::DialogBox( -name => 'dialogbox', -text => 'Demo Dialogbox', -left => 300, -top => 120, -left

Re: [perl-win32-gui-users] set button as default

2002-12-13 Thread NAHUM Marc
Kevin, Thanks ... it's work Marc, - Original Message - From: <[EMAIL PROTECTED]> To: "NAHUM Marc" <[EMAIL PROTECTED]> Cc: "Win32-GUI Users" ; <[EMAIL PROTECTED]> Sent: Friday, December 13, 2002 12:10 PM Subject: Re: [perl-win32-gui-users] set button as default Marc, You could give t

Re: [perl-win32-gui-users] set button as default

2002-12-13 Thread Kevin . ADM-Gibbs
Marc, You could give the button focus: $Win_info_srv->Button_ok_srv->SetFocus(); would do that. To have "enter" press the button when another control had focus there needs to be a way of getting the window to call your button click routine when enter is pressed. So far I've only seen thi

[perl-win32-gui-users] set button as default

2002-12-13 Thread NAHUM Marc
how set a button as delault ? when I put somthing like this : $Win_info_srv->AddButton( -text=> "OK", -name=> "Button_ok_srv", -left=> 190, -top => 185, -width => 50, -height => 21, -foreground => 0, -tabstop => 1,