FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MenuItem add new box color?
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
MenuItem add new box color?
Posted: Sun Jan 08, 2017 09:36 AM
Hi
I don't know fwh have this function. when mouse touch MenuItem show box color( set color ).
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: MenuItem add new box color?
Posted: 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

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: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: MenuItem add new box color?
Posted: 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



Hi
I use FWH1606 64bit. I want to show box Bright style like I attach picture that no default 2007/2010/2013...etc.
Code (fw): Select all Collapse
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 (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: MenuItem add new box color?
Posted: Sun Jan 08, 2017 05: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
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: MenuItem add new box color?
Posted: Mon Jan 09, 2017 02: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 (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: MenuItem add new box color?
Posted: Sun Jan 22, 2017 02:42 AM
Added COLORBOX clausule ( at moment only style 2013 for test )



Code (fw): Select all Collapse
聽 聽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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: MenuItem add new box color?
Posted: Sun Jan 22, 2017 02:59 AM
No style defined



Code (fw): Select all Collapse
   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
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: MenuItem add new box color?
Posted: Sun Jan 22, 2017 08:20 AM
cnavarro wrote:No style defined



Code (fw): Select all Collapse
聽 聽MENU oMnu COLORBOX CLR_BLUE


Hi Cnavarro,

Good job. Thanks a lot.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: MenuItem add new box color?
Posted: Sun Jan 22, 2017 08: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 March-April 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
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: MenuItem add new box color?
Posted: 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

Continue the discussion