FWH - New Office 2007 menus !!!

Postby Antonio Linares » Sun Oct 14, 2007 7:41 am

Otto,

very nice! :-)
regards, saludos

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

Postby nageswaragunupudi » Sun Oct 14, 2007 9:59 am

Mr Antonio

Thank you very much. Everything is working wonderful. Also glad you gave the sample illustration of typical Office2007 menu screen shot for the benefit of those like me. Now our menus exactly look like that.

Now what in my view is still remaining is that the List of windows under MDI Windows menu do not have the left vertical bar. I think MRU also look like the same. Here is the example:

Image


Is it the intended behaviour? Or will you make this change also so that the numbers appear in the left vertical bar?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby nageswaragunupudi » Sun Oct 14, 2007 10:22 am

Mr Antonio

A few more points. The checkbox in our menus still do not appear in Orange boxes like in the sample of Office2007 menu.

Are you planning to provide for graying of bitmaps also for the disabled menu items?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Sun Oct 14, 2007 10:35 am

> Or will you make this change also so that the numbers appear in the left vertical bar?

We are working to find a way to implement it

> A few more points. The checkbox in our menus still do not appear in Orange boxes like in the sample of Office2007 menu.

Yes, we are aware of it. Its planned.

> Are you planning to provide for graying of bitmaps also for the disabled menu items?

We want to see first how Office 2007 does it
regards, saludos

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

Postby Antonio Linares » Sun Oct 14, 2007 11:35 am

Checked items are ready :-)

Image
regards, saludos

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

Postby nageswaragunupudi » Sun Oct 14, 2007 12:35 pm

Thats very nice.
Can you please provide me the updated lib pls?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10308
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Enrico Maria Giordano » Sun Oct 14, 2007 2:50 pm

Me too! :-)

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8378
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Enrico Maria Giordano » Sun Oct 14, 2007 3:06 pm

The following sample GPFs when you right click on the listbox:

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg, oLbx, nItem

    DEFINE DIALOG oDlg

    @ 0, 0 LISTBOX oLbx VAR nItem

    oLbx:bRClicked = { || MyPopup( oLbx ) }

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL


STATIC FUNCTION MYPOPUP( oLbx )

    LOCAL oMenu

    MENU oMenu POPUP
        MENUITEM "Test"
    ENDMENU

    ACTIVATE MENU oMenu OF oLbx

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8378
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Enrico Maria Giordano » Sun Oct 14, 2007 3:39 pm

It is not possible to set preview buttonbar and statusbar to 2007 look.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8378
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Enrico Maria Giordano » Sun Oct 14, 2007 4:19 pm

Sometimes I get the disabled menu items longer than the enabled ones (ie. they break the blue bar of the new menu style) but I'm not able to build a sample of the problem yet.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8378
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Sun Oct 14, 2007 5:18 pm

Enrico,

> The following sample GPFs when you right click on the listbox:

Thats a listbox bug. This is the fix:
Code: Select all  Expand view
METHOD DrawItem( nIdCtl, nPStruct ) CLASS TListBox

return If( ::lOwnerDraw,;
           LbxDrawItem( nPStruct, ::aBitmaps, ::aItems, ::nBmpWidth, ::bDrawItem ),;
           Super:DrawItem( nIdCtl, nPStruct ) )

Many thanks for your feedback :-)
regards, saludos

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

Postby Antonio Linares » Sun Oct 14, 2007 5:23 pm

Enrico,

> It is not possible to set preview buttonbar and statusbar to 2007 look.

From rpreview.prg we could check if the main bar is ::l2007 and then build a buttonbar 2007 instead of a toolbar.

Is that fine ? :-)
regards, saludos

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

Postby Enrico Maria Giordano » Sun Oct 14, 2007 7:04 pm

Antonio Linares wrote:Thats a listbox bug. This is the fix:
Code: Select all  Expand view
METHOD DrawItem( nIdCtl, nPStruct ) CLASS TListBox

return If( ::lOwnerDraw,;
           LbxDrawItem( nPStruct, ::aBitmaps, ::aItems, ::nBmpWidth, ::bDrawItem ),;
           Super:DrawItem( nIdCtl, nPStruct ) )

Many thanks for your feedback :-)


Thank you!

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8378
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Enrico Maria Giordano » Sun Oct 14, 2007 7:05 pm

Antonio Linares wrote:Enrico,

> It is not possible to set preview buttonbar and statusbar to 2007 look.

From rpreview.prg we could check if the main bar is ::l2007 and then build a buttonbar 2007 instead of a toolbar.

Is that fine ? :-)


Perfect! :-)

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8378
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Sun Oct 14, 2007 7:27 pm

Enrico,

getting closer :-)

Image
regards, saludos

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 32 guests