FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour assign an action on a tab of ribbon
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
assign an action on a tab of ribbon
Posted: 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 March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: assign an action on a tab of ribbon
Posted: Thu Sep 13, 2018 12:52 PM

Silvio,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: assign an action on a tab of ribbon
Posted: Thu Sep 13, 2018 05:04 PM
Gulp this resolve many problems !!!!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 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
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: assign an action on a tab of ribbon
Posted: Thu Sep 13, 2018 05: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

Continue the discussion