Colorear las PAGE

HMG en Español

Moderator: Rathinagiri

User avatar
gfilatov
Posts: 747
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 29 times
Been thanked: 367 times
Contact:

Re: Colorear las PAGE

Post 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
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
andyglezl
Posts: 1251
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 39 times
Been thanked: 107 times
Contact:

Post 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 3524 times
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post 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.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
gfilatov
Posts: 747
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 29 times
Been thanked: 367 times
Contact:

Post 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:
Attachments
coloredtab.gif
coloredtab.gif (15.07 KiB) Viewed 3486 times
COLORED_TAB.ZIP
(627.84 KiB) Downloaded 178 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
apais
Posts: 343
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 63 times
Been thanked: 38 times
Contact:

Post 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

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post 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
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

EduardoLuis
Posts: 665
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Has thanked: 1 time
Been thanked: 62 times

Post 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

User avatar
danielmaximiliano
Posts: 2321
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 375 times
Been thanked: 74 times
Contact:

Post 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 !!!!!!
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO

User avatar
mol
Posts: 3368
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 260 times
Been thanked: 164 times
Contact:

Post by mol »

Fine work, GRigorij!
Is it possible to have sucha a solution in HMG?

User avatar
bpd2000
Posts: 1160
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 248 times
Been thanked: 142 times

Post by bpd2000 »

mol wrote:Fine work, GRigorij!
Is it possible to have sucha a solution in HMG?
+1
BPD
Convert Dream into Reality through HMG

Post Reply