Recent

Author Topic: Source for Lazarus IDE Color dialog?  (Read 415 times)

Trenatos

  • Hero Member
  • *****
  • Posts: 530
    • MarcusFernstrom.com
Source for Lazarus IDE Color dialog?
« on: January 21, 2021, 04:58:01 am »
I'd like to try my hand at making an update to the Lazarus IDE itself, and figured I'd try tackling a pet-peeve of mine: No HTML color input in the color dialog.

But I can't find the form/dialog for the Color dialog, found in the Properties/Color section. Could someone point me in the right direction?

bb84000

  • Newbie
  • Posts: 3
Re: Source for Lazarus IDE Color dialog?
« Reply #1 on: January 21, 2021, 07:28:28 am »
Hello,

The color dialog is usually part of the OS. You cannot change anything.
In windows, even the title property doesn't work.

bb

Trenatos

  • Hero Member
  • *****
  • Posts: 530
    • MarcusFernstrom.com
Re: Source for Lazarus IDE Color dialog?
« Reply #2 on: January 22, 2021, 09:12:12 pm »
Hmm, ok.

Any idea where the click action is triggered for launching it? As in, when you click the three-dotted icon in the Properties/Color item.

I have no clue where that Properties panel is found in the Lazarus sources

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6898
  • Debugger - SynEdit - and more
    • wiki
Re: Source for Lazarus IDE Color dialog?
« Reply #3 on: January 22, 2021, 10:47:57 pm »
Well not sure how much it helps....

TColorDialog = class(TCommonDialog)   is in lcl\dialogs.pp
TColorListBox = class(TCustomColorListBox)    is in lcl\colorbox.pas
TColorPropertyEditor = class(TIntegerPropertyEditor)   is in components\ideintf\graphpropedits.pas

there may be more....

Trenatos

  • Hero Member
  • *****
  • Posts: 530
    • MarcusFernstrom.com
Re: Source for Lazarus IDE Color dialog?
« Reply #4 on: January 23, 2021, 05:24:37 am »
Thanks Martin, I'll check those out  :)

 

TinyPortal © 2005-2018