Can not change color lazarus / 10-Designer ---------------------------------------------------------------------- belajardelphi · 2006-02-06 23:43 I'm using suse 9.3 and no error when install lazarus and fpc Trims. Not much to say my english is baadd ---------------------------------------------------------------------- matthijs · 2006-02-07 13:52 And your question is? ---------------------------------------------------------------------- CCRDude · 2006-02-09 08:47 Well, "can not change color" reminds me of one color changing problem of mine - if I use a TListBox (or TCheckListBox), I want to color some entries, but TListBox is still missing the OnCustomDraw function where one could change the canvas font color Anyway, that won't be the problem he has with colors I guess ---------------------------------------------------------------------- Anonymous · 2006-02-10 06:27 I can change color property of the form but nothing happen....still grey not other color ---------------------------------------------------------------------- CCRDude · 2006-02-10 15:03 Which version of Lazarus? Snapshot (if so which date) or "normal" (0.9.10 or 0.9.129? Compiling for Gtk, Gtk2, Gnome? Works for me on Windows, let me test on Linux. My Linux (Ubuntu 5.10) runs Lazarus 0.9.11 beta from 4-11-05. If I change TForm.Color, it doesn't really change, that's correct. I'm going to update to a current snapshot and will test again. ---------------------------------------------------------------------- CCRDude · 2006-02-10 15:18 Downloaded and compiled 0.9.13 beta frm 10-02-06, Gtk2 and gnome are not even available out of the box, so I assume it's about gtk. Problem still exists - regardless of which color I choose, the background will stay clBtnFace. ---------------------------------------------------------------------- matthijs · 2006-02-10 16:44 It has not been available under Linux. There has been a lot of discussion on this some time (a year or so) ago. I guess the priority to implement this is not very high atm. ---------------------------------------------------------------------- CCRDude · 2006-02-10 18:30 I can only sign the priority estimation. I've always been a fan of Apple's interface design guidelines and never understood the need to color forms or buttons At least I use colors very sparingly. The only point where I miss is in TListBox, because decent colors may be helpful there... But if I really need that, I'll look into the source and see if I can contribute anything. ---------------------------------------------------------------------- dajashby · 2006-06-15 07:32 You've probably already worked this out, but if you drop a panel on the form, and choose Client in Align, so that it covers the whole form, you can change the color of the panel without a problem. ---------------------------------------------------------------------- felipemdc · 2006-06-15 13:32 You can also work around this by implementing a paint method for the form. On this method you can just paint the whole background. You can see a simple form that uses this method on the lazarus/components/popupnotifier directory of you lazarus install (only on the latest subversion currently)