List Box Buttons
109
PDesign4 Touch Panel Design Software (v2.10 or higher)
SEND_COMMAND Keypad, "'^LVU-2'"
}
}
//Sort the list by title instead of Track number
BUTTON_EVENT[Keypad,6]
{
PUSH:
{
//Set the sort order for view address 2. The 1 indicates forward sort.
SEND_COMMAND Keypad, "'^LVO-2,1'"
//Set the column of the list on which to base the sort of the data displayed
//at view address 2 (in this case column 4 which contains titles)
SEND_COMMAND Keypad, "'^LVS-2,4'"
//Updates the view at address 2
SEND_COMMAND Keypad, "'^LVU-2'"
}
}
//Sort the list by Track number instead of title
BUTTON_EVENT[Keypad,7]
{
PUSH:
{
//Set the sort order for view address 2. The 1 indicates forward sort.
SEND_COMMAND Keypad, "'^LVO-2,1'"
//Set the column of the list on which to base the sort of the data displayed
//at view address 2 (in this case column 1 which contains track numbers)
SEND_COMMAND Keypad, "'^LVS-2,1'"
//Updates the view at address 2
SEND_COMMAND Keypad, "'^LVU-2'"
}
}
BUTTON_EVENT[KeypadMusic,1]
BUTTON_EVENT[KeypadMusic,2]
BUTTON_EVENT[KeypadMusic,3]
BUTTON_EVENT[KeypadMusic,4]
BUTTON_EVENT[KeypadMusic,5]
BUTTON_EVENT[KeypadMusic,6]
BUTTON_EVENT[KeypadMusic,7]
BUTTON_EVENT[KeypadMusic,8]
BUTTON_EVENT[KeypadMusic,9]
BUTTON_EVENT[KeypadMusic,10]
{
PUSH:
{
SEND_COMMAND Keypad2, "'^TXT-1,0,[Track ',itoa(BUTTON.INPUT.CHANNEL),']'"