=head2 Package Win32::GUI::UpDown

L<Back to the Packages|guipacks/>

=over

=item *

L<Constructor>

=over

=item *

L<new Win32::GUI::UpDown(PARENT, %OPTIONS)|/new_Win32_GUI_UpDown_PARENT_>

=back

=item *

L<Methods>

=over

=item *

L<Base([VALUE])|/Base_VALUE_>

=item *

L<Buddy([OBJECT])|/Buddy_OBJECT_>

=item *

L<Pos([VALUE])|/Pos_VALUE_>

=item *

L<Range([MIN, MAX])|/Range_MIN_MAX_>

=back

=item *

L<Events>

=over

=item *

L<Scroll()|/Scroll_>

=back

=back

=head3 Constructor

=over 4

=for html <A NAME="new_Win32_GUI_UpDown_PARENT_">

=item new Win32::GUI::UpDown(PARENT, %OPTIONS)

Creates a new UpDown object;
can also be called as PARENT->AddUpDown(%OPTIONS).

=for html <P>

=back

=head3 Methods

=over 4

=for html <A NAME="Base_VALUE_">

=item Base([VALUE])

Gets or sets the radix base for the UpDown control; VALUE can be
either 10 or 16 for decimal or hexadecimal base numbering.

=for html <P>

=for html <A NAME="Buddy_OBJECT_">

=item Buddy([OBJECT])

Gets or sets the buddy window for the UpDown control.

=for html <P>

=for html <A NAME="Pos_VALUE_">

=item Pos([VALUE])

Gets or sets the current position of the UpDown control.

=for html <P>

=for html <A NAME="Range_MIN_MAX_">

=item Range([MIN, MAX])

Gets or sets the range for the UpDown control; if no parameter is given,
returns a two element array containing the MIN and MAX range values,
otherwise sets them to the given values.
If MAX is lower than MIN, the UpDown control function is reversed, eg.
the up button decrements the value and the down button increments it

=for html <P>

=back

=head3 Events

=over 4

=for html <A NAME="Scroll_">

=item Scroll()

Sent when the user presses either the up or down button
of the UpDown control.

=for html <P>

=back

=cut
