Page 2 of 3

Re: Colorear las PAGE

Posted: Tue Nov 15, 2016 7:52 pm
by gfilatov
serge_girard wrote:Hello Grigory,

On my W7 all is yellow?
Hello Serge,

You are right!

There is only one color for the all Tab's pages by design :o

Re: Colorear las PAGE

Posted: Wed Nov 16, 2016 2:28 am
by andyglezl
Hola AidTIC

Quizá te pueda servir este demo que simula un TAB con colores...
------------------------------------------------------------------------------
Hello AidTIC

Maybe you can use this demo that simulates a TAB with colors ...

Code: Select all

#include "hmg.ch"
***********************************************

FUNCTION Main()

   DEFINE WINDOW Form_1 AT 50,50 WIDTH 800 HEIGHT 500 NOMAXIMIZE NOSIZE TITLE "TAB with LABELS   By AndyGlezL" MAIN

	ON KEY ESCAPE OF FORM_1 ACTION Form_1.Release

	// ********   TAB SIMULADO
       @ 15,010 LABEL L0  PARENT Form_1 WIDTH 050 HEIGHT 020 VALUE "UNO"	FONT "Verdana" SIZE 09 CENTERALIGN ; 
				FONTCOLOR BLACK  BACKCOLOR { 102 , 255 , 204 } ACTION Form_1.L5.BACKCOLOR := Form_1.L0.BACKCOLOR
				
       @ 15,061 LABEL L1  PARENT Form_1 WIDTH 050 HEIGHT 020 VALUE "DOS"	FONT "Verdana" SIZE 09 CENTERALIGN ; 
				FONTCOLOR BLACK  BACKCOLOR { 153 , 153 , 102 } ACTION Form_1.L5.BACKCOLOR := Form_1.L1.BACKCOLOR
				
       @ 15,112 LABEL L2  PARENT Form_1 WIDTH 050 HEIGHT 020 VALUE "TRES"	FONT "Verdana" SIZE 09 CENTERALIGN ; 
				FONTCOLOR BLACK  BACKCOLOR { 255 , 153 , 153 } ACTION Form_1.L5.BACKCOLOR := Form_1.L2.BACKCOLOR
				
       @ 15,163 LABEL L3  PARENT Form_1 WIDTH 050 HEIGHT 020 VALUE "CUATRO"	FONT "Verdana" SIZE 09 CENTERALIGN ; 
				FONTCOLOR BLACK  BACKCOLOR { 255 , 51  , 153 } ACTION Form_1.L5.BACKCOLOR := Form_1.L3.BACKCOLOR
				
       @ 15,214 LABEL L4  PARENT Form_1 WIDTH 050 HEIGHT 020 VALUE "CINCO"	FONT "Verdana" SIZE 09 CENTERALIGN ; 
				FONTCOLOR BLACK  BACKCOLOR { 204 , 204 , 255 } ACTION Form_1.L5.BACKCOLOR := Form_1.L4.BACKCOLOR
				
       @ 36,010 LABEL L5  PARENT Form_1 WIDTH 350 HEIGHT 200 VALUE ""		FONT "Verdana" SIZE 09 ; 
				FONTCOLOR BLACK  BACKCOLOR { 102 , 255 , 204 } 
	// ********   TAB SIMULADO
	
	
   END WINDOW
   CENTER WINDOW Form_1
   ACTIVATE WINDOW Form_1
RETURN NIL
DemoTab.jpg
DemoTab.jpg (40.41 KiB) Viewed 5366 times

Re: Colorear las PAGE

Posted: Wed Nov 16, 2016 11:24 am
by Pablo César
Bien pensado Andrés. En forma de label es más liviano. Aunque se hiciera con imagenes, iria tener un efecto mejor.

Re: Colorear las PAGE

Posted: Wed Nov 16, 2016 6:26 pm
by gfilatov
serge_girard wrote:Hello Grigory,

On my W7 all is yellow?
Hello Serge,

Thanks for your interest!

I've attached a new version of the colored Tab control for a next MiniguiEx build.

Hope that useful :arrow:

Re: Colorear las PAGE

Posted: Wed Nov 16, 2016 6:55 pm
by apais
Are the diferences among HMG and Minigui Extended SO big, that they can't be unified ?
Core programmeres are scarse and it all seems a duplication of work to me.
Triplication, if you also consider oohg.

Just curious
Angel

Colorear las PAGE

Posted: Wed Nov 16, 2016 7:07 pm
by Pablo César
gfilatov wrote:I've attached a new version of the colored Tab control for a next MiniguiEx build.

Hope that useful :arrow:
Image
WOW Grigory !

You are a genious !

I had thought that it would never be possible.

Congratulations !

ImageImageImage

Re: Colorear las PAGE

Posted: Wed Nov 16, 2016 8:06 pm
by EduardoLuis
Hi Grigory:

Excellent job.-
Both news you introduce are really usefull: Color Tabs, and locate tabs on bottom of tab control.-
Thanks for share.-
With regards.
Eduardo

Re: Colorear las PAGE

Posted: Wed Nov 16, 2016 8:20 pm
by danielmaximiliano
Gracias Grigory , hace un tiempo necesitaba del control Tab para ver diferentes polizas de seguro de un productor de seguros, pude hacerlo y usted incluyo mi ejemplo en su distribucion de Minigui ...
me pone muy contento el avance de HMG y HMG extended ... gracias a todos !!!!!!

Translate Google

Thanks Grigory, some time ago I needed the Tab control to see different insurance policies of an insurance producer, I could do it and you included my example in your Minigui distribution ...
I am very pleased with the progress of HMG and HMG extended ... thank you all !!!!!!

Re: Colorear las PAGE

Posted: Thu Nov 17, 2016 6:38 am
by mol
Fine work, GRigorij!
Is it possible to have sucha a solution in HMG?

Re: Colorear las PAGE

Posted: Thu Nov 17, 2016 7:12 am
by bpd2000
mol wrote:Fine work, GRigorij!
Is it possible to have sucha a solution in HMG?
+1