I am using markup grid list in my roku app, in that list i have 3 columns in each row, i want user to focus only 2 columns i.e 2nd and 3rd column in each row.
The 1st column should not be focused and selected. Is this possible to achieve, if yes i would be very thankful.
Function BlockFocus() if m.MarkupGrid.itemFocused mod 3 = 0 or if m.MarkupGrid.itemFocused mod 3 = 1 (This is the edge case to check for all rows-left column) jumpToItem = m.MarkupGrid.ItemFocused + 1 (forces it back to previous item) end if end Function
I have a similar situation where I want to block the focus on middle item. I have 5 columns in my markupGrid and I want to block focus on 3rd item.
'THis works really well right key is pressed but fails when LEFT key is pressed. if m.grid.itemFocused mod 5 = 2 then m.grid.jumpToItem = m.grid.ItemFocused + 1 end if