View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0021870Lazarus-public2012-04-27 16:352012-05-03 07:57
ReporterMario Bonati 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformWindowsOSWindows XPOS VersionSP3
Product Version1.1 (SVN)Product BuildLazarus 1.1 r37043M FPC 2.6.0 i3 
Target VersionFixed in Version 
Summary0021870: Changing Button1.Font.Color does nothing
DescriptionChanging font's color from object inspector or from code does nothing.
See the attached project.

Hi, Mario
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetWin32/Win64
Attached Fileszip file icon CambioColoreFontButton.zip [^] (66,685 bytes) 2012-04-27 16:35

- Relationships
related to 0021824new TStaticText : Color property and BorderSpacing's properties do not work 

-  Notes
(0059057)
Zeljan Rikalo (developer)
2012-04-28 09:26

Afair, under windows you cannot change button color. See restricted tab in OI when you select button, and you'll see all restricted properties for button.
(0059092)
Felipe Monteiro de Carvalho (developer)
2012-04-29 11:35

Use TCDButton instead: http://wiki.lazarus.freepascal.org/Lazarus_Custom_Drawn_Controls#TCDButton [^]
(0059193)
Mario Bonati (reporter)
2012-05-02 18:39

@Zeljan Rikalo: sorry, i've used it on Linux ad i thinked that it was a bug.

@Felipe Monteiro de Carvalho: Thanks, it's great !!!!

Can i close this bug?
(0059200)
Avishai (reporter)
2012-05-03 01:24

The last time I checked, TCDButton was not an option if you need BiDiMode:= bdRightToLeft. It seems that none of the CustomDrawn controls support BiDiMode.
(0059204)
Zeljan Rikalo (developer)
2012-05-03 07:40

@Mario Bonatti, but you've filled bug for win32 widgetset. Where did you mention that you talk about linux ? And what ws under linux ? qt can change button color.
(0059205)
Mario Bonati (reporter)
2012-05-03 07:57

Sorry, my english is very poor.
I've used it on Linux some time ago ad it works.
When i used it on Win 32 and see that don't works, i've thinked that it was a bug.

Hi, Mario

- Issue History
Date Modified Username Field Change
2012-04-27 16:35 Mario Bonati New Issue
2012-04-27 16:35 Mario Bonati File Added: CambioColoreFontButton.zip
2012-04-27 16:35 Mario Bonati Widgetset => Win32/Win64
2012-04-27 23:35 Juha Manninen Relationship added related to 0021824
2012-04-28 09:26 Zeljan Rikalo Note Added: 0059057
2012-04-29 11:35 Felipe Monteiro de Carvalho Note Added: 0059092
2012-05-02 18:39 Mario Bonati Note Added: 0059193
2012-05-03 01:24 Avishai Note Added: 0059200
2012-05-03 07:40 Zeljan Rikalo Note Added: 0059204
2012-05-03 07:57 Mario Bonati Note Added: 0059205



MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker