Added in Class TRibbon :
METHOD RunAction( nKey, lControl ) CLASS TRibbonBar
local nCurrent := 0
local nTemp ::cBufferAcc = ""
::aAcc = {}Starting with group 1, the Buttonlist is working fine now,
but moving to group 2 and back to group 1, it doesn't work anymore.
I tested to load the keys ON CHANGE, but doesn't work.
ON CHANGE ( IIF( oRBar:nOption < 3, nLastPage := oRBar:nOption, NIL ), ;
GET_KEYS(oRBar), ;
oRBar:bKeyChar = { | nKey, nFlags | ;
IIF( nKey = 84 .or. nKey = 116, DIALOG_1(), NIL ), ; // T, t
IIF( nKey = 80 .or. nKey = 112, DIALOG_2(), NIL ), ; // P, p
IIF( nKey = 82 .or. nKey = 114, DIALOG_3(), NIL ), ; // R, r
IIF( nKey = 76 .or. nKey = 108, DIALOG_4(), NIL ), ; // L, l
IIF( nKey = 68 .or. nKey = 100, DIALOG_5(), NIL ), ; // D, d
IIF( nKey = 73 .or. nKey = 105, DIALOG_6(), NIL ), ; // I, i
IIF( nKey = 83.or. nKey = 115, DIALOG_7(), NIL ), ; // S, s
IIF( nKey = 77 .or. nKey = 109, DIALOG_8(), NIL ), ; // M, m
IIF( nKey = 86 .or. nKey = 118, DIALOG_9(), NIL ), ; // V, v
IIF( nKey = 65 .or. nKey = 97, DIALOG_10(), NIL ), ; // T, t
IIF( nKey = 67 .or. nKey = 99, DIALOG_11(), NIL ) } // C, c
Best Regards
Uwe