FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FiveWin 17.07 menu problems
Posts: 55
Joined: Thu Mar 13, 2008 02:35 AM

FiveWin 17.07 menu problems

Posted: Sat Oct 14, 2017 04:39 PM
select menuitem border do not show

in version 17.04 its ok



in version 17.07 not show



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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: FiveWin 17.07 menu problems

Posted: Sat Oct 14, 2017 05:45 PM
Please try with

Code (fw): Select all Collapse
COLORBOX CLR_RED ;


and tell me
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 55
Joined: Thu Mar 13, 2008 02:35 AM

Re: FiveWin 17.07 menu problems

Posted: Mon Oct 16, 2017 07:26 AM

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

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: FiveWin 17.07 menu problems

Posted: Mon Oct 16, 2017 09:08 AM
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

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM

Re: FiveWin 17.07 menu problems

Posted: Mon Oct 16, 2017 12:35 PM

Cristobal, can you please send the obj-file for Harbour from menudraw.c to me? ( office(at)byte-one.com )

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 55
Joined: Thu Mar 13, 2008 02:35 AM

Re: FiveWin 17.07 menu problems

Posted: Mon Oct 16, 2017 04:51 PM

SOLVED!!!

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

Thanks.

Continue the discussion