I have a ribbonbar with these tabs
Local aRbPrompts:={"Prenotazioni","Gestione","Stampe","Visualizza","Configurazione","Strumenti"}
when I open the beach structure procedure it can happen that the archive is empty or the archive has not been configured well and the procedure cannot display the beach, so I would like the software to automatically display menu number 5 on the ribbonbar and showed the user the button that needs to be pressed to change the configuration: it would be nice if the rbbtn that should be pressed until the user presses it can be switched on intermittently
IF oBeach:eof()
Msginfo("The beach has not been configured correctly. Create a new structure")
oApp:oRebar:nOption= 5
oApp:oRebar:refresh()
return nil
ENDIF
and I wish open a tab of Ribbonbar I try with
oApp:oRebar:nOption= 5 this select the tab number 5 but then not refresh the group remaining in the previous group
I try also with oApp:oRebar:show(5) but not happen nothing
without the user doing it manually , how I can to show the menu 5 and show the button are on that tab ?
the rbtn is oBtn[28]