Colorear las PAGE

HMG en Español

Moderator: Rathinagiri

User avatar
gfilatov
Posts: 582
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 17 times
Been thanked: 149 times
Contact:

Re: Colorear las PAGE

Post by gfilatov » Tue Nov 15, 2016 7:52 pm

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: 1063
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 24 times
Been thanked: 48 times
Contact:

Post by andyglezl » Wed Nov 16, 2016 2:28 am

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 2430 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: 179 times

Post by Pablo César » Wed Nov 16, 2016 11:24 am

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: 582
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 17 times
Been thanked: 149 times
Contact:

Post by gfilatov » Wed Nov 16, 2016 6:26 pm

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 2392 times
COLORED_TAB.ZIP
(627.84 KiB) Downloaded 115 times
Kind Regards,
Grigory Filatov

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

User avatar
apais
Posts: 286
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 36 times
Been thanked: 22 times
Contact:

Post by apais » Wed Nov 16, 2016 6:55 pm

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: 179 times

Post by Pablo César » Wed Nov 16, 2016 7:07 pm

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: 604
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Has thanked: 1 time
Been thanked: 40 times

Post by EduardoLuis » Wed Nov 16, 2016 8:06 pm

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: 2090
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 115 times
Been thanked: 15 times
Contact:

Post by danielmaximiliano » Wed Nov 16, 2016 8:20 pm

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

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

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

Post by mol » Thu Nov 17, 2016 6:38 am

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

User avatar
bpd2000
Posts: 1035
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 170 times
Been thanked: 83 times

Post by bpd2000 » Thu Nov 17, 2016 7:12 am

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