About Property FontColor in Frame

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
jparada
Posts: 309
Joined: Fri Jan 23, 2009 5:18 pm
Been thanked: 6 times

About Property FontColor in Frame

Post by jparada »

Translated by Google,

I'm trying to set the fontcolor FRAME object, like this:

@115, 25 FRAME frame1 CAPTION 'Name' FONTCOLOR { 255, 255, 255 } BACKCOLOR { 115, 65, 49 }

And not working well, do not paint the color specified in the Caption property fontcolor, but if it works BackColor property,in fact I looked at the example \Hmg\Samples\Color\ColorDemo.Prg
There is an option: Set Frame_1 fontcolor and neither works well, and there is another option: Set BackColor Frame_1 and if this is working well.

Someone else had the same detail?, My OS is Windows Vista, or is it something about the themes?

Thanks

Greetings
Javier

Spanish,

Estoy intentando establecer la propiedad FONTCOLOR del objeto FRAME, así:
@115, 25 FRAME frame1 CAPTION 'Name' FONTCOLOR { 255, 255, 255 } BACKCOLOR { 115, 65, 49 }

Y no está funcionando bien, no se pinta el Caption del color especificado en la propiedad FontColor, pero si funciona la propiedad BACKCOLOR, de hecho he mirado el ejemplo en \Hmg\Samples\Color\ColorDemo.Prg
Hay una opción: Set Frame_1 Fontcolor y tampoco funciona bien, y hay otra opción: Set Frame_1 BackColor y está si está funcionando bien.
Alguien más ha tenido el mismo detalle?, mi SO es Windows Vista, ó es algo referente a los temas?

Gracias

Saludos
Javier

User avatar
esgici
Posts: 4538
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 times
Been thanked: 118 times
Contact:

Post by esgici »

Hola Javier

Confirmed.

In XP, except "Windows Classic" theme, FRAME simply ignore FONTCOLOR property specified.

Saludos

--

Esgici
Viva INTERNATIONAL HMG :D

jparada
Posts: 309
Joined: Fri Jan 23, 2009 5:18 pm
Been thanked: 6 times

Post by jparada »

Translated by Google,

Thanks for answering and confirming, Esgici.
This behavior must consider not normal?, it is necessary to make any changes in HMG (if it can be solved)?

Thanks

Greetings
Javier

Spanish,

Gracias por contestar y confirmar, Esgici.
Este comportamiento se ha de considerar no normal?, es necesario realizar alguna modificación en HMG (si es que se puede solucionar)?

Gracias

Saludos
Javier

User avatar
esgici
Posts: 4538
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 times
Been thanked: 118 times
Contact:

Post by esgici »

jparada wrote:
This behavior must consider not normal?, it is necessary to make any changes in HMG (if it can be solved)?
Well, when we have been sure that this is a bug, we have will report it to the SourceForge HMG Bug tracker.

Personally, I am not sure and I don't want make a false alarm.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D

jparada
Posts: 309
Joined: Fri Jan 23, 2009 5:18 pm
Been thanked: 6 times

Post by jparada »

Translated by Google,

Then follow with the same subject at the following link:
viewtopic.php?f=15&t=222

(sample images of his friend Luis)
you can see that the frame has a caption font color and has enabled XP theme, so I stay with even more doubt.

Greetings

Javier

Spanish,

Pues siguiendo con el mismo tema, en el siguiente link:
viewtopic.php?f=15&t=222
(imágenes de muestra del amigo Luis)

se puede ver que el caption del FRAME tiene un color de fuente y tiene habilitado el tema XP, por lo tanto, me quedo aún más con la duda.

Saludos

Javier

User avatar
esgici
Posts: 4538
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 410 times
Been thanked: 118 times
Contact:

Post by esgici »

Hi Javier

It same as DEFAULT font color, not set by programmer.

So, we can assume that the situation is a normal Windows behavior. Like border color of FRAME, we can't change it.

Regards.

--

esgici
Viva INTERNATIONAL HMG :D

jparada
Posts: 309
Joined: Fri Jan 23, 2009 5:18 pm
Been thanked: 6 times

Post by jparada »

Translated by Google,

Esgici Thanks for the reply and clarification.

Greetings
Javier

Spanish,
Gracias Esgici por contestar y por la aclaración.
Saludos
Javier

Post Reply