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]
Move to an option of RibbonBar
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Move to an option of RibbonBar
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC