FontColor and button - is it possible to change?
Moderator: Rathinagiri
- serge_girard
- Posts: 3308
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: FontColor and button - is it possible to change?
Thanks Krzysztof and Pablo !
Could this be made standard in HMG?
Serge
Could this be made standard in HMG?
Serge
There's nothing you can do that can't be done...
Re: FontColor and button - is it possible to change?
Hi Pablo, this is very nice!Pablo César wrote:I hope you do not mind, I made a small contribution based on your code.
This is not a bug, I did it deliberately.Pablo César wrote:I also fixed probably a typo in FrameColor of ODS_FOCUS in _OWNBUTTONDRAW C function. (I wrote Pablo FYG).
In this way I wanted to draw focused button in the style of Windows XP.
In this case, border of the button comprises three frames: outer frame, intermediate frame and inner frame.
The outer and inner frames are drawn in FrameColor defined for normal button.
And the intermediate frame is drawn in FrameColor defined for focused button.
Maybe I should change it - draw only one bold frame?
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
FontColor and button - is it possible to change?
All merits are yours, my friend. I was able to do this routine thanks to your indications.
There's a lot we have to learn.
I do not think you need to change anything. Everything is great!
About:
There's a lot we have to learn.
I do not think you need to change anything. Everything is great!
About:
Ohhh sorry. It's better leave as you predicted. For those who want to make bold, just put the two colors on the frame with the same color and will be alright.Krzysztof wrote:This is not a bug, I did it deliberately.
In this way I wanted to draw focused button in the style of Windows XP.

HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- danielmaximiliano
- Posts: 2625
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: FontColor and button - is it possible to change?
Thanks Krzysztof !
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: FontColor and button - is it possible to change?
Great!!!
Is it possible to display pictures on the button?
Is it possible to display pictures on the button?
-
- Posts: 684
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: FontColor and button - is it possible to change?
Thanks both Krzysztof and Pablo Cesar.
GREAT JOB.
With regards.
Eduardo
GREAT JOB.
With regards.
Eduardo
Re: FontColor and button - is it possible to change?
New version of owner draw buttons.
Added possibility to set:
- bitmap as background,
- alignment of caption text.
Added possibility to set:
- bitmap as background,
- alignment of caption text.
- Attachments
-
- OwnButton.png (26.63 KiB) Viewed 4566 times
-
- OwnButton.zip
- (69.8 KiB) Downloaded 451 times
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
FontColor and button - is it possible to change?
Nice one !
Dziękuję Mr. Krzysztof.
Dziękuję Mr. Krzysztof.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: FontColor and button - is it possible to change?
Wow! That's what i need.
Thanks Krzysztof
Thanks Krzysztof