FWH - New Office 2007 menus !!!

Postby James Bott » Tue Oct 16, 2007 3: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby nageswaragunupudi » Tue Oct 16, 2007 4: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
User avatar
nageswaragunupudi
 
Posts: 10331
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby James Bott » Tue Oct 16, 2007 4: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Tue Oct 16, 2007 5:46 am

James,

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

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

Postby nageswaragunupudi » Tue Oct 16, 2007 5:47 am

I am testing on XP
Regards

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

Postby Antonio Linares » Tue Oct 16, 2007 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41463
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Tue Oct 16, 2007 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41463
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Tue Oct 16, 2007 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41463
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Tue Oct 16, 2007 8:17 am

Preview seems to be ready:

Image
regards, saludos

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

Postby nageswaragunupudi » Tue Oct 16, 2007 9: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 )

Code: Select all  Expand view
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
User avatar
nageswaragunupudi
 
Posts: 10331
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Tue Oct 16, 2007 9:25 am

NageswaraRao,

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

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

Postby nageswaragunupudi » Tue Oct 16, 2007 9:33 am

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

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

Postby nageswaragunupudi » Tue Oct 16, 2007 9: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
User avatar
nageswaragunupudi
 
Posts: 10331
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby Antonio Linares » Tue Oct 16, 2007 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41463
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby James Bott » 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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

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