[perl-win32-gui-users] HELP, please, on UpDown control and textfield

2004-09-13 Thread Francesco Rizzi
Hi there. I've just started using the Win32::GUI library, so pardon me if this turns out to be a newbie question. I'm having problems with the UpDown control. Here's what I'd like to end up with: a dialog with a status bar, a text field, an UpDown control regulating the text field, and a Close

RE: [perl-win32-gui-users] HELP, please, on UpDown control and textfield

2004-09-13 Thread Frazier, Joe Jr
1) the UpDown appears to attach to whatever control preceded it 2) I am not 100% sure, but the updown control is used to modifying numberlike thingies, not text. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cmctl29 8/html/vbobjupdowncontrol.asp It looks like there are also so

RE: [perl-win32-gui-users] HELP, please, on UpDown control and textfield

2004-09-13 Thread Frazier, Joe Jr
See Inline Joe Frazier, Jr. Senior Support Engineer Peopleclick Service Support Tel: +1-800-841-2365 E-Mail: [EMAIL PROTECTED] > -Original Message- > From: Frazier, Joe Jr > Sent: Monday, September 13, 2004 1:30 PM > To: 'Francesco Rizzi'; perl-win32-gui-users@lists.sourceforge.net >

RE: [perl-win32-gui-users] HELP, please, on UpDown control and textfield

2004-09-13 Thread Francesco Rizzi
Hi Joe. thanks for replying. I've moved the declaration of the UpDown control right after the text box, which helped. As you say, to avoid the text in the textfield to be messed up I have to include the -setbuddy => 0 option. I tried to include -autobuddy => 0, => 1, and not to include it.. seems

RE: [perl-win32-gui-users] HELP, please, on UpDown control and textfield

2004-09-13 Thread Frazier, Joe Jr
Perhaps a slider control would work, if you are trying to get a "scroll like" functionality. Of course, you would have to change the size of the sliders range on the fly after lines are added to the text field. Also, why not just use a regular scrollbar? Joe Frazier, Jr. Senior Support Engineer

RE: [perl-win32-gui-users] HELP, please, on UpDown control and textfield

2004-09-13 Thread Francesco Rizzi
Yeah, sounds like you are right and I should look at the scrollbar or slider. I guess I didn't read http://jeb.ca/perl/win32-gui-docs/index.pl/Win32-GUI-HOW-TO-3 carefully enough: the section on the UpDown controls made it sound to me like it was the right widget for the job. But now that I read