MenuItem add new box color?

MenuItem add new box color?

Postby richard-service » Sun Jan 08, 2017 9:36 am

Hi
I don't know fwh have this function. when mouse touch MenuItem show box color( set color ).
Image
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v5.7 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 751
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: MenuItem add new box color?

Postby cnavarro » Sun Jan 08, 2017 12:22 pm

What version of Fw do you use?
When the mouse is placed over a menuitem, it is painted

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: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: MenuItem add new box color?

Postby richard-service » Sun Jan 08, 2017 12:53 pm

cnavarro wrote:What version of Fw do you use?
When the mouse is placed over a menuitem, it is painted

Image


Hi
I use FWH1606 64bit. I want to show box Bright style like I attach picture that no default 2007/2010/2013...etc.
Code: Select all  Expand view

MENU oMenu FONT oFnt1 2013 ADJUST ;
         NOBORDER ; //UPPERMNU ;
         COLORSEPARATOR CLR_RED ;
         COLORMENU CLR_HGRAY, CLR_BLUE ;
         COLORSELECT METRO_STEEL, METRO_STEEL, RGB( 0, 0, 1 ) ;
         COLORLEFT CLR_WHITE ;
         COLORRIGHT CLR_HGRAY ;  //      NOINHERIT ;   //      FACTOR 4 ;
         ROUND 1 ;  //5   //      RIGHTSPACE 10 ;
         HEIGHT 1.0 * 2
 
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v5.7 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 751
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: MenuItem add new box color?

Postby cnavarro » Sun Jan 08, 2017 5:40 pm

Ah!, Now i understand your question

Please, wait for my comments
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: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: MenuItem add new box color?

Postby richard-service » Mon Jan 09, 2017 2:12 am

cnavarro wrote:Ah!, Now i understand your question

Please, wait for my comments


Hi Cnavarro,
I think in ( COLORSELECT ) add set box color or new ( COLORSELECTBOX ) ...
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v5.7 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 751
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: MenuItem add new box color?

Postby cnavarro » Sun Jan 22, 2017 2:42 am

Added COLORBOX clausule ( at moment only style 2013 for test )

Image

Code: Select all  Expand view

   MENU oMnu FONT oFont 2013 ; //ADJUST ;
         NOBORDER ;
         COLORMENU CLR_HGRAY, CLR_BLUE ;
         COLORSELECT METRO_STEEL, METRO_STEEL, RGB( 0, 0, 1 ) ;
         COLORSEPARATOR CLR_RED ;
         COLORLEFT CLR_WHITE ;
         COLORRIGHT CLR_HGRAY ;
         ROUND 1 ;
         HEIGHT 1.0 * 2 ;
                                       COLORBOX CLR_BLUE

 


Is this feature the one you need?
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: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: MenuItem add new box color?

Postby cnavarro » Sun Jan 22, 2017 2:59 am

No style defined

Image

Code: Select all  Expand view

   MENU oMnu COLORBOX CLR_BLUE
 
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: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: MenuItem add new box color?

Postby richard-service » Sun Jan 22, 2017 8:20 am

cnavarro wrote:No style defined

Image

Code: Select all  Expand view

   MENU oMnu COLORBOX CLR_BLUE
 


Hi Cnavarro,

Good job. Thanks a lot.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v5.7 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 751
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: MenuItem add new box color?

Postby Silvio.Falconi » Sun Jan 22, 2017 8:10 pm

this features is possible with the last fwh ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 6755
Joined: Thu Oct 18, 2012 7:17 pm

Re: MenuItem add new box color?

Postby cnavarro » Sun Jan 22, 2017 10:16 pm

Silvio.Falconi wrote:this features is possible with the last fwh ?


This feature ( COLORBOX ), and this

viewtopic.php?f=3&t=33528#p197792

Will be included in the next version
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: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

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