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 it again, I realize it explicitly mentions numeric text fields.

My last note on the UpDown widget:
I added a
sub upDown_Scroll() { print STDERR "Up Down Scrolled.\n"; }
in the code I was using for this,
and when you click the up or down arrow, the routine is called twice.
Cute.

Thanks again;
I'll look at sliders and scrollbars now :-)

F.O.R.




At 02:05 PM 9/13/2004 -0400, Frazier, Joe Jr wrote:
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?


Reply via email to