Page 5 of 8

PostPosted: Tue Oct 16, 2007 3:43 am
by James Bott
>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

PostPosted: Tue Oct 16, 2007 4:04 am
by nageswaragunupudi
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.

PostPosted: Tue Oct 16, 2007 4:09 am
by James Bott
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

PostPosted: Tue Oct 16, 2007 5:46 am
by Antonio Linares
James,

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

PostPosted: Tue Oct 16, 2007 5:47 am
by nageswaragunupudi
I am testing on XP

PostPosted: Tue Oct 16, 2007 6:33 am
by Antonio Linares
> 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

PostPosted: Tue Oct 16, 2007 6:40 am
by Antonio Linares
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

PostPosted: Tue Oct 16, 2007 6:49 am
by Antonio Linares
>
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

PostPosted: Tue Oct 16, 2007 8:17 am
by Antonio Linares
Preview seems to be ready:

Image

PostPosted: Tue Oct 16, 2007 9:15 am
by nageswaragunupudi
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)

PostPosted: Tue Oct 16, 2007 9:25 am
by Antonio Linares
NageswaraRao,

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

PostPosted: Tue Oct 16, 2007 9:33 am
by nageswaragunupudi
I just tried. Preview is working okay now. The error does not occur any more
Thanks

PostPosted: Tue Oct 16, 2007 9:41 am
by nageswaragunupudi
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.

PostPosted: Tue Oct 16, 2007 9:44 am
by Antonio Linares
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

PostPosted: Tue Oct 16, 2007 12:14 pm
by James Bott
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