Ribbon Office 2010

Ribbon Office 2010

Postby Otto » Sat Dec 12, 2009 3:43 am

Ribbon Office 2010

I noticed some differences.
If you move over a selected tab Office 10 does not change the color or outlook. Fivewin does.
Not changing the color gives a more stable impression.

ImageImage


Code: Select all  Expand view

TRibbonBar

METHOD MouseHover( nRow, nCol ) CLASS TRibbonBar

   local nPrompt := ::nOverPrompt( nRow, nCol )

   if ::nLastOver != 0 .and. ::nLastOver != ::nOption .and. ::nLastOver != nPrompt
      ::PaintOver( ::nLastOver, 4 )
   endif

   if nPrompt == 0
      ::PaintOver( ::nOption,1 )
      ::nLastOver := 0
//   elseif nPrompt == ::nOption
//     ::PaintOver( ::nOption, 2 )
 //    ::nLastOver := ::nOption

   else
      ::PaintOver( nPrompt, 3 )
      ::nLastOver := nPrompt
   endif


return nil


It seems to me that
Office 2010 uses a smaller value than 6 to round.
::hRgn := CreateRoundRectRgn( aRect, 6, 6 )

ImageImage

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6329
Joined: Fri Oct 07, 2005 7:07 pm

Re: Ribbon Office 2010

Postby James Bott » Sat Dec 12, 2009 5:40 pm

Otto,

>If you move over a selected tab Office 10 does not change the color or outlook. Fivewin does.

I am guessing that this is a bug in Office 10. Why have one tab a different color? It makes sense that they intended to have the current tab a different color, not just the first tab. Time will tell.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Ribbon Office 2010

Postby Otto » Sat Dec 12, 2009 9:12 pm

Hello James,

the orange colored button is not a TAB.
It is the new backstage button TM (trademark) of the Office 2010 line. Word has for example a blue one orange is Outlook.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6329
Joined: Fri Oct 07, 2005 7:07 pm

Re: Ribbon Office 2010

Postby James Bott » Sat Dec 12, 2009 11:40 pm

Otto,

>the orange colored button is not a TAB.

Well, I stand corrected.

That is even more confusing. A tab that isn't a tab. Hmm...

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Ribbon Office 2010

Postby Otto » Sun Dec 13, 2009 7:33 am

Hmm...


James,
It is the old „File“ button now called „backstage“ and a trademark.
That is Microsoft!

Best regards,
otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6329
Joined: Fri Oct 07, 2005 7:07 pm

Re: Ribbon Office 2010

Postby StefanHaupt » Mon Dec 14, 2009 8:36 am

Otto,

I suggest to make a new class (maybe TRibbon2010) that inherits from TRibbon to support this new look. So everyone can decide, what design he wants
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Ribbon Office 2010

Postby Otto » Mon Dec 14, 2009 9:42 am

Hello Stefan,

thank you for your suggestion. This is a good idea.
I thought of a classdata lOffice2010:=.t. . But a own class would be more transparent.
But this task is a task Antonio must do.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6329
Joined: Fri Oct 07, 2005 7:07 pm

Re: Ribbon Office 2010

Postby Silvio » Thu Dec 17, 2009 4:13 pm

Otto,
Wich is the modifies to make if the loffice2010 is .t. ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 57 guests