FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH - New Office 2007 menus !!!
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 03:43 AM

>The issue pointed out by Mr. James regarding the white line between the menu and buttonbar is still to be fixed.

Actually, that is not what I meant. What was happening was that the section of the white line under the menu was changing to blue when the cursor was moved over the menu choice. That has been fixed--it no longer changes to blue.

I think the white line is supposed to be there--it is a highlighted edge of the buttonbar. I don't have a copy of Office 2007 here to compare it to though.

I agree that there is still a problem with top level menu choices that are disabled with the WHEN clause.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 04:04 AM

Mr James

> What was happening was that the section of the white line under the menu > was changing to blue when the cursor was moved over the menu choice

I did understand you correctly. In the latest version I got a few hours back, the white line is still turning blue in the circumstances you explained above.

I also remember Mr. Antonio said he fixed it. Sure he must have and you might have tested it then.

> That has been fixed--it no longer changes to blue.

The point is in the latest libs I got now the problem is there. Dont know why the problem resurfaced. I never had the earlier version you checked.

After seeing your post, I redownloaded, unzipped again and confirm this.

Regards



G. N. Rao.

Hyderabad, India
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 04:09 AM

NageswaraRao,

>> What was happening was that the section of the white line under the menu > was changing to blue when the cursor was moved over the menu choice

>I did understand you correctly. In the latest version I got a few hours back, the white line is still turning blue in the circumstances you explained above.

And right you are! It is late here and my eyes are tired and not as good as they used to be. I used a maginfier to look at it again, and the blue is still there.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 05:46 AM

James,

Are you testing on Windows XP ? On Vista is fine.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 05:47 AM

I am testing on XP

Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 06:33 AM

> and the blue is still there.

Fixed. There was a different behavior between XP and Vista

Nageswararao, could you please email me a 256 colors screenshot with the menus ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 06:40 AM

James,

> I agree that there is still a problem with top level menu choices that are disabled with the WHEN clause.

To disable top menu items, the DISABLE clause has to be used. We can't use WHEN ... there as WHEN is only evaluated when the menuitem is clicked

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 06:49 AM

>
To disable top menu items, the DISABLE clause has to be used. We can't use WHEN ... there as WHEN is only evaluated when the menuitem is clicked
>

We found a workaround :-)

Now both WHEN .F. and DISABLE are fine on the top bar menuitems

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 08:17 AM
Preview seems to be ready:

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 09:15 AM
Again the old problem with RPreview.Prg has cropped up. Earlier it was fixed but now after adopting the new color scheme the fix seems to have been lost.
In MDI environment when I am closing the last Mdi Preview window, error is occuring.

Error is reproduced here: ( Though I dont have the line numbers I suspect that the error may be in the PaintMeta function )

Application
===========
   Path and name: C:\TESTS\Bin\PREVUE.Exe (32 bits)
   Size: 1,355,264 bytes
   Time from start: 0 hours 0 mins 7 secs 
   Error occurred at: 10/16/07, 14:53:27
   Error description: Error BASE/1004  Class: 'NIL' has no exported method: END
   Args:
     [   1] = U   

Stack Calls
===========
   Called from:  => END(0)
   Called from: RPREVIEW.PRG => (b)TPREVIEW:ACTIVATE(0)
   Called from: MDICHILD.PRG => TMDICHILD:END(0)
   Called from: RPREVIEW.PRG => (b)TPREVIEW:BUILDBUTTONBAR(0)
   Called from: BTNBMP.PRG => TBTNBMP:CLICK(0)
   Called from: BTNBMP.PRG => TBTNBMP:LBUTTONUP(0)
   Called from:  => TWINDOW:HANDLEEVENT(0)
   Called from: CONTROL.PRG => TCONTROL:HANDLEEVENT(0)
   Called from: BTNBMP.PRG => TBTNBMP:HANDLEEVENT(0)
   Called from: WINDOW.PRG => _FWH(0)
   Called from:  => WINRUN(0)
   Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0)
   Called from: PREVUE.prg => MAIN(41)
Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 09:25 AM

NageswaraRao,

Please test with the new LIBs that I have just emailed you

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 09:33 AM

I just tried. Preview is working okay now. The error does not occur any more
Thanks

Regards



G. N. Rao.

Hyderabad, India
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 09:41 AM

About the new libs:

  1. Chaning the whiteline's color to blue is fixed. Working well on XP.

  2. When.f. Issue:
    Both top bar items and dropdown items are grayed with When.F. also, but ONLY when the item does not have a submenu. (This is very unlikely with topbar menu items)

    If the top bar item has a dropdown menu or the submenu has a child submenu, even if the item is disabled with When..F. clause, the menuitem ( both on top bar and dropdown ) looks enabled, we can navigate to the item, item gets highlighted with orange color. However all its submenu items are grayed. Seems this is still to be addressed.

Regards



G. N. Rao.

Hyderabad, India
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 09:44 AM

Nageswararao,

>
2. When.f. Issue:
Both top bar items and dropdown items are grayed with When.F. also, but ONLY when the item does not have a submenu. (This is very unlikely with topbar menu items)

If the top bar item has a dropdown menu or the submenu has a child submenu, even if the item is disabled with When..F. clause, the menuitem ( both on top bar and dropdown ) looks enabled, we can navigate to the item, item gets highlighted with orange color. However all its submenu items are grayed. Seems this is still to be addressed.
>

Could you please provide me a sample PRG ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
FWH - New Office 2007 menus !!!
Posted: Tue Oct 16, 2007 12:14 PM

Antonio,

The last item on the top menu (on the right) is not displaying items in the pulldown. It only shows a separator bar and it shows this bar even if no seperator bar was specified and if there are no items in the pulldown.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10