Mimic midikeyboard button behaviour in a row of textbuttons

looks like there is a solution here