assign an action on a tab of ribbon

assign an action on a tab of ribbon

Postby Silvio.Falconi » Thu Sep 13, 2018 11:24 am

It possible give an action when the user press the first tab of ribbonbar ?

or if nOption is 1 the procedure must call a function
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: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: assign an action on a tab of ribbon

Postby Antonio Linares » Thu Sep 13, 2018 12:52 pm

Silvio,

DEFINE RIBBONBAR ... ACTION If( nOption == 1, MsgInfo( "first" ),)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: assign an action on a tab of ribbon

Postby Silvio.Falconi » Thu Sep 13, 2018 5:04 pm

Gulp this resolve many problems !!!!
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: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: assign an action on a tab of ribbon

Postby TimStone » Thu Sep 13, 2018 5:18 pm

You can do the same with a Folder. When clicking on a folder tab, I always run some tests, and issue some commands to make the folder perform correctly.

It is a very nice ability.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2927
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Jimmy and 63 guests