FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour add button on ribonbar with font
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
add button on ribonbar with font
Posted: Fri Apr 10, 2020 05:19 PM

I create a button on ribbonbar type SAYBUTTON

@ 7,5 ADD BUTTON oSelected ;
PROMPT " N."+str(ncella) ;
SIZE 100,85 ;
BITMAP cImagebar ;
OF oApp():oGrSelected MOSTLEFT SAYBUTTON
oSelected:DISABLE()

How I can to change the font of text ?
on include ( ribbon.ch) I cannot insert Font
How it is possible ?

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: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: add button on ribonbar with font
Posted: Fri Apr 10, 2020 06:07 PM
Silvio,

a sample :

Code (fw): Select all Collapse
@ 45, 100 ADD BUTTON oSay1 GROUP oGrS1 SIZE 200, 40 ;
       PROMPT "A Say" SAYBUTTON ;
       CENTER ROUND BORDER ACTION( MsgInfo( "Say Button" ) )
       oSay1:SetFont( oFontBigNum )




regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: add button on ribonbar with font
Posted: Fri Apr 10, 2020 10:30 PM

thanks

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

Continue the discussion