SldGetPage Macro

Microchip Graphics Library

Microchip Graphics Library
SldGetPage Macro
C
#define SldGetPage(pSld) (((SLIDER*)pSld)->page)
Overview

Returns the current 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 
pSld 
Pointer to the object. 
Returns

Returns the current value of the slider page.

Preconditions

none

Side Effects

none

Example
WORD page;
SLIDER *pSld;

    page = SldGetPage(pSld);
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved