Alphabet scrollbar?

I have a list with the letters of the alphabet. I have another list that is a panel list. How can I make the panel list scroll to items with the letters that i am focused on in the alphabet list? I thought this might be somewhere close but I think I’m really far off and just dreaming that this may work somehow but I think you get the gist of what I’m trying to do with this example.


xxx = self.getControl(6229) #alphabet list
zzz = self.getControl(6222) #panel list
focused_item = xxx.getSelectedItem()
if focused_item:
    letter = focused_item.getLabel()
    xbmc.executebuiltin('control.message(zzz, Action(shift-"%s") % letter)')