Page 2 of 8

PostPosted: Sun Oct 14, 2007 7:41 am
by Antonio Linares
Otto,

very nice! :-)

PostPosted: Sun Oct 14, 2007 9:59 am
by nageswaragunupudi
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?

PostPosted: Sun Oct 14, 2007 10:22 am
by nageswaragunupudi
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?

PostPosted: Sun Oct 14, 2007 10:35 am
by Antonio Linares
> 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

PostPosted: Sun Oct 14, 2007 11:35 am
by Antonio Linares
Checked items are ready :-)

Image

PostPosted: Sun Oct 14, 2007 12:35 pm
by nageswaragunupudi
Thats very nice.
Can you please provide me the updated lib pls?

PostPosted: Sun Oct 14, 2007 2:50 pm
by Enrico Maria Giordano
Me too! :-)

EMG

PostPosted: Sun Oct 14, 2007 3:06 pm
by Enrico Maria Giordano
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

PostPosted: Sun Oct 14, 2007 3:39 pm
by Enrico Maria Giordano
It is not possible to set preview buttonbar and statusbar to 2007 look.

EMG

PostPosted: Sun Oct 14, 2007 4:19 pm
by Enrico Maria Giordano
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

PostPosted: Sun Oct 14, 2007 5:18 pm
by Antonio Linares
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 :-)

PostPosted: Sun Oct 14, 2007 5:23 pm
by Antonio Linares
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 ? :-)

PostPosted: Sun Oct 14, 2007 7:04 pm
by Enrico Maria Giordano
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

PostPosted: Sun Oct 14, 2007 7:05 pm
by Enrico Maria Giordano
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

PostPosted: Sun Oct 14, 2007 7:27 pm
by Antonio Linares
Enrico,

getting closer :-)

Image