User’s Manual
91
Sets the button attributes for the action to be taken when the button is pressed.
PARAMETERS
xmemPtr
is the unsigned long value assigned by
btnInit
btn
is the button ID number
RepeatCntrl
sets repeat enable/disable (0 = repeat off, 1 = repeat on)
InitRepeatDelay
sets the initial delay in milliseconds for the repeat when the repeat is enabled
RepeatDelay
sets the repeat delay in milliseconds between repeats
BuzzerCntrl
enables/disables the buzzer sound when the button is pressed (0 = buzzer off,
1 = buzzer on)
RETURN VALUE
1 when completed
.
Searches the list of buttons in use for a button that matches the x,y coordinates from the touchscreen.
PARAMETERS
xmemPtr
is the command code for the button assigned by
btnInit
x
is the x coordinate of the location on the touchscreen
y
is the y coordinate of the location on the touchscreen
RETURN VALUE
The command code of the button corresponding to the button being pressed. If no such button is found,
the function returns a negative number.
SEE ALSO
btnVerifyXY, btnGet
int btnAttributes(unsigned long xmemPtr, int btn,
int RepeatCntrl,int InitRepeatDelay,
int RepeatDelay, int BuzzerCntrl);
int btnSearchXY(unsigned long xmemPtr, int x, int y );
Summary of Contents for eDisplay OP7200
Page 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 021001 A ...
Page 6: ...eDisplay OP7200 ...
Page 44: ...38 eDisplay OP7200 ...
Page 128: ...122 eDisplay OP7200 ...
Page 136: ...130 eDisplay OP7200 ...
Page 144: ...138 eDisplay OP7200 ...
Page 146: ...140 eDisplay OP7200 ...
Page 150: ...144 eDisplay OP7200 ...
Page 152: ......