Otto,
very nice! ![]()
Otto,
very nice! ![]()

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?
> 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
Thats very nice.
Can you please provide me the updated lib pls?
#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 NILIt is not possible to set preview buttonbar and statusbar to 2007 look.
EMG
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
METHOD DrawItem( nIdCtl, nPStruct ) CLASS TListBox
return If( ::lOwnerDraw,;
LbxDrawItem( nPStruct, ::aBitmaps, ::aItems, ::nBmpWidth, ::bDrawItem ),;
Super:DrawItem( nIdCtl, nPStruct ) )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 ? ![]()
Antonio Linares wrote:Thats a listbox bug. This is the fix:
METHOD DrawItem( nIdCtl, nPStruct ) CLASS TListBox return If( ::lOwnerDraw,; LbxDrawItem( nPStruct, ::aBitmaps, ::aItems, ::nBmpWidth, ::bDrawItem ),; Super:DrawItem( nIdCtl, nPStruct ) )
Many thanks for your feedback
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 ?