Search found 37 matches: l2010

Return to advanced search

Re: Ribbon Theme

Antonio, :nClrBoxSelOut = _nClrBoxSelOut // New ! This works great to eliminate the white outline when a tab is hovered over. :l2010 = .T. // New ! I don't see any difference with this. What should I be looking for? The last change (to the source) I presume gets rid of the little black ...
by James Bott
Tue May 07, 2019 8:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28485

Re: Ribbon Theme

... are the syle from 1 to 5 :) then we must add a new methos direclty to ribbon called METHOD SetStyle( nStyle ) or change this METHOD SetStyles( l2010, l2013, l2015, nTopMargin, nClrPaneRB, nClrBoxOut, nClrBoxIn,; nClrBoxSelOut, nClrBoxSelIn, aGrad, aGradFld, aGradHigh, aGradOver, l2016 ) DEFAULT ...
by Silvio.Falconi
Mon May 06, 2019 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28485

Re: Ribbonbar on w7 and 10

... COLORBOX> <nClrBoxOut>,<nClrBoxIn> ] ; [ <ColorSel: COLORSEL> <nClrBoxSelOut>,<nClrBoxSelIn> ] ; [ <l2010: 2010, _2010> ]; [ <l2013: 2013, _2013> ]; [ STARTBTN <nStart> ]; [ <l2015: 2015, _2015> ]; [ <l2016: 2016, _2016> ...
by Silvio.Falconi
Wed Apr 03, 2019 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbonbar on w7 and 10
Replies: 4
Views: 1016

Re: Ribbonbar on w7 and 10

...                          [ <ColorSel: COLORSEL> <nClrBoxSelOut>,<nClrBoxSelIn> ] ;                           [ <l2010: 2010, _2010> ];                           [ <l2013: 2013, _2013> ];                           [ <lWIN10: WIN10, _WIN10> ...
by armando.lagunas
Wed Apr 03, 2019 11:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbonbar on w7 and 10
Replies: 4
Views: 1016

Re: Problema menu con MenuBegin()

... está en negrita ) oMenuP := LastMenu() if !empty( oMenuP ) if !lSystem if Valtype( l2007 ) != "L" DEFAULT l2007 := .F. endif if Valtype( l2010 ) != "L" DEFAULT l2010 := .F. endif if Valtype( l2015 ) != "L" DEFAULT l2015 := .F. endif if Valtype( l2013 ) != "L" ...
by Compuin
Tue Nov 06, 2018 7:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema menu con MenuBegin()
Replies: 21
Views: 2900

Re: Problema menu con MenuBegin()

... está en negrita ) oMenuP := LastMenu() if !empty( oMenuP ) if !lSystem if Valtype( l2007 ) != "L" DEFAULT l2007 := .F. endif if Valtype( l2010 ) != "L" DEFAULT l2010 := .F. endif if Valtype( l2015 ) != "L" DEFAULT l2015 := .F. endif if Valtype( l2013 ) != "L" ...
by cnavarro
Tue Nov 06, 2018 7:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema menu con MenuBegin()
Replies: 21
Views: 2900

Re: Ribbon Theme

I think we must create on RibbonBar class a new method called SetStyle and insert on this all colors of all style l2007,l2010, l2013, l2015,l2016

this for each classes : ribbonbar buttonribbon groupribbon

on this method we can set the colors
by Silvio.Falconi
Thu Oct 25, 2018 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28485

Re: Ribbon Theme

Ok, I was able to override the PaintFld() method so I can use the l2010 flag and still keep the groups like Office 2016. I also had to make some changes in the override method to paint the folders with a different background color. This was only an issue ...
by James Bott
Wed Oct 24, 2018 1:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28485

Re: Ribbon Theme

Now some things are starting to make sense to me. When the l2010 flag is set, aGradFld is used to paint the folder tabs when the mouse moves over them. And for all other flags, aGradOver is used. Here is the code from the PaintFld() method: if ::l2010 ...
by James Bott
Tue Oct 23, 2018 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28485

Re: Ribbon Theme

OK, I just discovered that aGradOver is not working (it is ignored) with l2010, but it works fine with l2016.

All my work has been done with the l2010 flag since it makes groups the most similar to Office 2016.

So now I have to figure out where the bug is.

James
by James Bott
Mon Oct 22, 2018 11:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28485

Re: Ribbon Theme

... this much easier that I will be testing soon. One other thing you need to do to get a ribbonbar style that looks like Office 2016 is to use the l2010 flag for the ribbon definition. Yes, it is ironic the the 2010 version looks most like the 2016 version. Here is an example showing the Black ...
by James Bott
Fri Oct 19, 2018 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28485

Re: Ribbon Theme

... list my modify ( together Josè of alanit and Antonio) I had modify the ribbon class and add l2016 with some colors I change the METHOD SetStyles( l2010, l2013, l2015, nTopMargin, nClrPaneRB, nClrBoxOut, nClrBoxIn,; nClrBoxSelOut, nClrBoxSelIn, aGrad, aGradFld, aGradHigh, aGradOver, l2016 ) CLASS ...
by Silvio.Falconi
Fri Oct 05, 2018 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28485

Re: Menus and Menubar Painting errors

... In your RPREVIEW.PRG try adding the following lines after the menu definition     MENU oMenu        oMenu: l2007: = (nStyle == 2007)        oMenu: l2010: = (nStyle == 2010)        if Upper (:: oWndMain: ClassName ()) == "TMDIFRAME"           oMenu: lMenuBar: = .T.        endif or 2 Option: ...
by cnavarro
Mon Apr 30, 2018 3:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menus and Menubar Painting errors
Replies: 3
Views: 1125

Re: ERROR ON RPREVIEW

... I allready tried with these modificatins MENU oMenu oMenu:l2007 := ( nStyle == 2007 ) oMenu:l2010 := ( nStyle == 2010 ) oMenu:l2013 := ( nStyle == 2013 ) oMenu:l2015 := ( nStyle == 2015 ) oMenu:lMenuBar := .T.
by Silvio.Falconi
Wed Jul 19, 2017 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR ON RPREVIEW
Replies: 25
Views: 4397

Re: Button disabled looks different on folder and buttonbar

... [<nClrBack>], <.lGDIP.> ) and if I try to set the button with obtn1:l2015:=.t. or obtn1:l2013:=.t. or obtn1:l2010 :=.t. is allways the same color any solution please ?
by Silvio.Falconi
Wed Mar 29, 2017 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Button disabled looks different on folder and buttonbar
Replies: 12
Views: 6825
Next

Return to advanced search