Move to an option of RibbonBar

Move to an option of RibbonBar

Postby Silvio.Falconi » Thu Jun 06, 2019 11:08 am

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]
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7075
Joined: Thu Oct 18, 2012 7:17 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 25 guests