SldSetPage Function

Microchip Graphics Library

Microchip Graphics Library
SldSetPage Function
C
void SldSetPage(
    SLIDER * pSld, 
    WORD newPage
);
Overview

This sets the page size of the object. Page size defines the delta change of the thumb position when incremented via SldIncPos() or decremented via SldDecPos(). Page size minimum value is 1. Maximum value is range/2.

Input Parameters
Input Parameters 
Description 
SLIDER * pSld 
Pointer to the object. 
WORD newPage 
Value of the new page used. 
Returns

None.

Preconditions

none

Side Effects

Position of the thumb may change when redrawn.

Example

See SldIncPos() example.

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved