TeSetKeyCommand Function

Microchip Graphics Library

Microchip Graphics Library
TeSetKeyCommand Function
C
BOOL TeSetKeyCommand(
    TEXTENTRY * pTe, 
    WORD index, 
    WORD command
);
Overview

This function will assign a command (TE_DELETE_COM, TE_SPACE_COM or TE_ENTER_COM) to a key with the given index.

Input Parameters
Input Parameters 
Description 
TEXTENTRY * pTe 
pointer to the object 
WORD index 
index to the key in the link list 
WORD command 
command assigned for the key 
Returns

Returns TRUE if successful and FALSE if not.

Preconditions

none

Side Effects

none.

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