---
title: "RepeatArrowPadA (Aluminum)"
canonical: "https://docs.cuesystem.com/space/CVCGC/460324876/RepeatArrowPadA%20(Aluminum)"
format: markdown
---
> Macro (toc)

# Description

> Macro (excerpt)
> 
> This object consists of four arrow buttons and one center button. All buttons have similar behavior like RepeatButton. When a button is pushed, it starts to generate OnRepeat event periodically (with time period defined by property) until the button is released. The object uses three different time periods - first for LeftButton and RightButton, second for UpButton and DownButton and third for CenterButton.
> 
> ![image](media://5983bf6d-1695-42b4-a937-2826f070e286)

RepeatArrowPadA (Aluminum) has defined background color preset. 

![image](media://57995032-43d7-4886-983b-68264453f81f)

# Properties

> Macro (excerpt)
> 
> See section [Common Section of Generic object collection | Properties](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/407535672/Common+Section+of+Generic+object+collection#Properties). In addition this object uses following properties.
> 
> |  |  |  |  |  |
> | --- | --- | --- | --- | --- |
> | Property Name | Data Type | Allowed Values | Default Value | Description |
> | Behavior |
> | RepeatIntervalLeftRight | Time | Any positive | 0:0.4 | Period of generating events while button is pushed. |
> | RepeatIntervalUpDown | Time | Any positive | 0:0.4 | Period of generating events while button is pushed. |
> | RepeatIntervalCenter | Time | Any positive | 0:0.4 | Period of generating events while button is pushed. |
> | Appearance |
> | ButtonStyle | Long | Rounded Corner  
> Sharp Corner | Rounded Corner | Button has rounded or sharp corners. |
> | Background | Boolean | Yes  
> No | Yes | Specifies whether the background is shown. |

# Functions

> Macro (excerpt)
> 
> See section [Common Section of Generic object collection | Functions](https://cue.atlassian.net/wiki/spaces/CVCGC/pages/407535672/Common+Section+of+Generic+object+collection#Functions). In addition, this object uses the following functions.
> 
> ## SetRepeatIntervalLeftRight
> 
> This function sets RepeatIntervalLeftRight of the buttons left and right . The function returns True on success or False if an error occurs (i.e. newrepeatinterval <= :.0).
> 
> #### Syntax
> 
> ```visualbasic
> Function SetRepeatIntervalLeftRight(newrepeatintervalleftright As Time) As Boolean
> ```
> 
> ## GetRepeatIntervalLeftRight
> 
> This function returns the current RepeatIntervalLeftRight of the buttons left and right.
> 
> #### Syntax
> 
> ```visualbasic
> Function GetRepeatIntervalLeftRight() As Time
> ```
> 
> ## SetRepeatIntervalUpDown
> 
> This function sets RepeatIntervalUpDown of the buttons Up and Down. The function returns True on success or False if an error occurs (i.e. newrepeatinterval <= :.0).
> 
> #### Syntax
> 
> ```visualbasic
> Function SetRepeatIntervalUpDown(newrepeatintervalupdown As Time) As Boolean
> ```
> 
> ## GetRepeatIntervalUpDown
> 
> This function returns the current RepeatIntervalUpDown of the buttons up and down.
> 
> #### Syntax
> 
> ```visualbasic
> Function GetRepeatIntervalUpDown() As Time
> ```
> 
> ## SetRepeatIntervalCenter
> 
> This function sets RepeatIntervalCenter of the button center. The function returns True on success or False if an error occurs (i.e. newrepeatinterval <= :.0).
> 
> #### Syntax
> 
> ```visualbasic
> Function SetRepeatIntervalCenter(newrepeatintervalcenter As Time) As Boolean
> ```
> 
> ## GetRepeatIntervalCenter
> 
> This function returns the current RepeatIntervalCenter of the button center.
> 
> #### Syntax
> 
> ```visualbasic
> Function GetRepeatIntervalCenter() As Time
> ```
> 
> ## SetButtonStyle
> 
> This function sets a newbuttonstyle to ButtonStyle. Function returns True. You can use the following predefined constants
> 
> - BUTTON_STYLE_ROUNDED_CORNER
> - BUTTON_STYLE_SHARP_CORNER
> 
> #### Syntax
> 
> ```visualbasic
> Function SetButtonStyle(newbuttonstyle As Long) As Boolean
> ```
> 
> ## GetButtonStyle
> 
> This function returns ButtonStyle.
> 
> #### Syntax
> 
> ```visualbasic
> Function GetButtonStyle() As Long
> ```
> 
> ## SetBackground
> 
> This function sets a newbackground to Background. Function returns True.
> 
> #### Syntax
> 
> ```visualbasic
> Function SetBackground(newbackground As Boolean) As Boolean
> ```
> 
> ## GetBackground
> 
> This function returns Background.
> 
> #### Syntax
> 
> ```visualbasic
> Function GetBackground() As Boolean
> ```

# Events

> Macro (excerpt)
> 
> ## OnRepeatUp 
> 
> This event is periodically generated while the button up is pushed.
> 
> #### Syntax
> 
> ```visualbasic
> Event OnRepeatUp As Process()
> ```
> 
> ## OnRepeatDown 
> 
> This event is periodically generated while the button down is pushed.
> 
> #### Syntax
> 
> ```visualbasic
> Event OnRepeatDown As Process()
> ```
> 
> ## OnRepeatLeft 
> 
> This event is periodically generated while the button left is pushed.
> 
> #### Syntax
> 
> ```visualbasic
> Event OnRepeatLeft As Process()
> ```
> 
> ## OnRepeatRight 
> 
> This event is periodically generated while the button right is pushed.
> 
> #### Syntax
> 
> ```visualbasic
> Event OnRepeatRight As Process()
> ```
> 
> ## OnRepeatCenter 
> 
> This event is periodically generated while the button center is pushed.
> 
> #### Syntax
> 
> ```visualbasic
> Event OnRepeatCenter As Process()
> ```