Page 1 of 1

FiveWin 17.07 menu problems

PostPosted: Sat Oct 14, 2017 4:39 pm
by shark
select menuitem border do not show

in version 17.04 its ok

Image

in version 17.07 not show

Image

Source code:

*------------------------------------------------------------------------------*
FUNCTION TaskMenu( nRow, nCol )

DEFINE FONT oFontMenu NAME "Verdana" SIZE 0, -14 BOLD

MENU oTrayMenu POPUP FONT oFontMenu 2013 ;
NOBORDER ; // UPPERMNU ;
LOGOMENU "acessosoftv.png" ;
COLORSEPARATOR CLR_RED ;
COLORMENU CLR_WHITE, CLR_BLACK ;
COLORSELECT CLR_WHITE, CLR_WHITE, CLR_RED ;
COLORLEFT CLR_WHITE ;
COLORRIGHT CLR_HGRAY ;
NOINHERIT ;
FACTOR 4 ;
ROUND 5 ; //5 //
HEIGHT 1.0 * 2

MENUITEM "Versão do Sistema: 17.09" ACTION NIL

SEPARATOR

MENUITEM oMenuGAuto PROMPT "&G-Auto Sistema Gerenciador de CFC" ACTION NIL

SEPARATOR

MENUITEM "&Suporte..." ACTION NIL

MENU
MENUITEM "Abrir chamado" ACTION NIL
MENUITEM "Sugestões " ACTION NIL
MENUITEM "Reclamações " ACTION NIL
ENDMENU

SEPARATOR

MENUITEM "Agenda " ACTION NIL
MENUITEM "&Recibos " ACTION NIL
MENUITEM "&Backup " ACTION NIL

MENUITEM "C&onfigurações" ACTION NIL

SEPARATOR

MENUITEM "&Sair" ACTION QuitTray()

ENDMENU

ACTIVATE POPUP oTrayMenu AT nRow, nCol OF oTray:oWnd

oTrayMenu := NIL

oMenuGAuto := NIL

RETURN NIL

Re: FiveWin 17.07 menu problems

PostPosted: Sat Oct 14, 2017 5:45 pm
by cnavarro
Please try with

Code: Select all  Expand view

COLORBOX CLR_RED ;
 


and tell me

Re: FiveWin 17.07 menu problems

PostPosted: Mon Oct 16, 2017 7:26 am
by shark
NOT SOLVED.

COLORBOX parameter included but not effect.

source code:

MENU oTrayMenu POPUP FONT oFontMenu 2013 ;
NOBORDER ; // UPPERMNU ;
LOGOMENU aTrayData[ TRAY_PATH ] + "images\acessosoftv.png" ;
COLORSEPARATOR CLR_RED ;
COLORMENU CLR_WHITE, CLR_BLACK ;
COLORSELECT CLR_WHITE, CLR_WHITE, CLR_RED ;
COLORBOX CLR_RED ;
COLORLEFT CLR_WHITE ;
COLORRIGHT CLR_HGRAY ;
NOINHERIT ;
FACTOR 4 ;
ROUND 5 ; //5 //
HEIGHT 1.0 * 2

Re: FiveWin 17.07 menu problems

PostPosted: Mon Oct 16, 2017 9:08 am
by cnavarro
Yes, you are right

For test, I comment this lines in file menudraw.c ( source\winapi ), and I forgot to remove them later
Remove comment characters lines 1825, 1826, 1827 and add you project this file
If you have problem for build this file, please tell me

Image

Re: FiveWin 17.07 menu problems

PostPosted: Mon Oct 16, 2017 12:35 pm
by byte-one
Cristobal, can you please send the obj-file for Harbour from menudraw.c to me? ( office(at)byte-one.com )

Re: FiveWin 17.07 menu problems

PostPosted: Mon Oct 16, 2017 4:51 pm
by shark
SOLVED!!!

Notify me when it is no longer necessary to include the file Menudraw. C.

Thanks.