FiveWin 17.07 menu problems

FiveWin 17.07 menu problems

Postby shark » Sat Oct 14, 2017 4:39 pm

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
shark
 
Posts: 55
Joined: Thu Mar 13, 2008 2:35 am

Re: FiveWin 17.07 menu problems

Postby cnavarro » Sat Oct 14, 2017 5:45 pm

Please try with

Code: Select all  Expand view

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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: FiveWin 17.07 menu problems

Postby shark » Mon Oct 16, 2017 7: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
shark
 
Posts: 55
Joined: Thu Mar 13, 2008 2:35 am

Re: FiveWin 17.07 menu problems

Postby cnavarro » Mon Oct 16, 2017 9: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

Image
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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: FiveWin 17.07 menu problems

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: FiveWin 17.07 menu problems

Postby shark » Mon Oct 16, 2017 4:51 pm

SOLVED!!!

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

Thanks.
shark
 
Posts: 55
Joined: Thu Mar 13, 2008 2:35 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 94 guests