I have a custom ribbon with 2 toggle buttons both have the callback getpressed="UpOrDown" from the xml
Sub UpOrDown(control As IRibbonControl, ByRef returnedVal)
Select Case control.ID
Case "toggle1"
returnedVal = B1
Case "toggle2"
returnedVal = B2
end select
end sub
where b1 , b2 are True or false variables set previously on the code
I want to see toggle button 2 pressed as i press Toggle 1 ?
Sub UpOrDown(control As IRibbonControl, ByRef returnedVal)
Select Case control.ID
Case "toggle1"
returnedVal = B1
Case "toggle2"
returnedVal = B2
end select
end sub
where b1 , b2 are True or false variables set previously on the code
I want to see toggle button 2 pressed as i press Toggle 1 ?