[perl-win32-gui-users] Newbie Alert - Button options

2006-01-03 Thread Steve Loughran
Hi all I have only been playing with Win32::Gui for about 11 hours so far, but its doing almost everything I want it to do so far (windows, buttons, -onEVENT, hooking it into Win32:GuiTest, all works great...) ... but, like most newbies, there are always some things that elude me: Question

Re: [win32gui] [perl-win32-gui-users] Newbie Alert - Button options

2006-01-03 Thread Robert May
Steve Loughran wrote: Hi all I have only been playing with Win32::Gui for about 11 hours so far, but its doing almost everything I want it to do so far (windows, buttons, -onEVENT, hooking it into Win32:GuiTest, all works great...) Cool! ... but, like most newbies, there are always some

RE: [perl-win32-gui-users] Newbie Alert - Button options

2006-01-03 Thread Glenn W Munroe
Hello Steve, I was just compiling a reply to this when Rob beat me to it! He's given the technical answer, but here's a rough-and-ready example using a label. I noticed that the label disappears when you click button2, so you may have to mess around to bring the label to the top each time the

Re: [win32gui] [perl-win32-gui-users] window control

2006-01-03 Thread Robert May
Alex Lee wrote: Dear all: Have a couple of questions, and was wondering if someone can help me out. 1) Don't know if I am phrasing this correctly, but is there a way to create a window that stays open all the time, regardless of what is happening? For example I would like to create a windows

Re: [perl-win32-gui-users] Newbie Alert - Button options

2006-01-03 Thread Steve Loughran
Many thanks Rob and Glenn I tried the label option, but as you say, the text disappears when the button is pressed. I can do a Redraw() after the button has been released and the label reappears, but it still looks messy while the button is held down. I might cheat and use Bitmaps in the

Re: [win32gui] [perl-win32-gui-users] -dialogui, textfields and enter

2006-01-03 Thread Robert May
Octavian Rasnita wrote: I need to use -dialogui option for a window in order to make it accessible with the keyboard, but after doing this, I have a problem with multiline Textfield boxes. If I use that option, when pressing enter to put an end-of-line in the multiline textfield, nothing

Re: [win32gui] Re: [perl-win32-gui-users] multiline Textfield and tab navigation

2006-01-03 Thread Robert May
Octavian Rasnita wrote: Ok, sorry. The solution was simple. I just needed to add: return 1; at the end of the event handler function. Which one? Would you be prepared to produce a small working example of what you've had to do (with, say, a multi-line textfield and a button) showing how

Re: [win32gui] [perl-win32-gui-users] -dialogui, textfields and enter

2006-01-03 Thread Octavian Rasnita
Oh great! Thank you very much. I have tried to find more about the -style options and its new variants on Win32::GUI docs, but I couldn't. It seems that I need to search in MSDN. Teddy - Original Message - From: Robert May [EMAIL PROTECTED] To: Octavian Rasnita [EMAIL PROTECTED] Cc: