Recent

Author Topic: Is there any colorable log component?  (Read 7059 times)

tr_escape

  • Sr. Member
  • ****
  • Posts: 437
  • sector name toys | respect to spectre
    • Github:
Is there any colorable log component?
« on: January 23, 2013, 07:52:01 am »
Hello everyone,

As you know we using a lot of program with log file or logging operations bottom of the our programs.

I searched some colored log components but i didn't found...

Is there any colorable log component ?

Best regards

IndianaJones

  • Hero Member
  • *****
  • Posts: 509

tr_escape

  • Sr. Member
  • ****
  • Posts: 437
  • sector name toys | respect to spectre
    • Github:
Re: Is there any colorable log component?
« Reply #2 on: January 23, 2013, 09:48:01 am »
It's nice method for unix systems maybe i should look up for gui sulutions.
Thank you for your help IndianaJones


Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Is there any colorable log component?
« Reply #3 on: January 23, 2013, 12:33:23 pm »
Something that View->Debug Windows->Event Log uses?

tr_escape

  • Sr. Member
  • ****
  • Posts: 437
  • sector name toys | respect to spectre
    • Github:
Re: Is there any colorable log component?
« Reply #4 on: January 23, 2013, 12:46:20 pm »
Something that View->Debug Windows->Event Log uses?

Yes my idea is like as lazarus event viewer but i am looking Tmemo component base.
I tried Synedit but i don't like for logging but i'll try with listbox of lazarus

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Is there any colorable log component?
« Reply #5 on: January 23, 2013, 01:14:00 pm »
Well, why can't you use RichMemo?

tr_escape

  • Sr. Member
  • ****
  • Posts: 437
  • sector name toys | respect to spectre
    • Github:
Re: Is there any colorable log component?
« Reply #6 on: January 23, 2013, 01:31:11 pm »
Well, why can't you use RichMemo?

Actually i tried richmemo to install as component but lazarus gave a error code preparecreatewindow etc and i passed this step.


Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Is there any colorable log component?
« Reply #7 on: January 23, 2013, 02:01:36 pm »
Quote
Actually i tried richmemo to install as component but lazarus gave a error code preparecreatewindow etc and i passed this step.
Don't give up too fast ;)
Do you have richmemopkg (or something similar) in your .lpr's uses clause? RichMemo seems to register its own class in its initialization.

tr_escape

  • Sr. Member
  • ****
  • Posts: 437
  • sector name toys | respect to spectre
    • Github:
Re: Is there any colorable log component?
« Reply #8 on: January 23, 2013, 03:29:23 pm »
I compiled richmemo the problem is a parameter of preparecreatewindow's. I changed 1 line and it is installed.

Thank you.

rasberryrabbit

  • Full Member
  • ***
  • Posts: 151
Re: Is there any colorable log component?
« Reply #9 on: January 23, 2013, 04:38:57 pm »
I recently make simple control.

It may help you a little.  :)
Code is long, Life is short, AI is not your enemy.

tr_escape

  • Sr. Member
  • ****
  • Posts: 437
  • sector name toys | respect to spectre
    • Github:
Re: Is there any colorable log component?
« Reply #10 on: January 24, 2013, 07:49:01 pm »
I recently make simple control.

It may help you a little.  :)

Yes i tried this component very nice maybe some features should change to selectable text area etc.

Thank you

mas steindorff

  • Hero Member
  • *****
  • Posts: 594
Re: Is there any colorable log component?
« Reply #11 on: January 24, 2013, 08:50:01 pm »
I recently make simple control.

It may help you a little.  :)

I get "project1.lpr(16,30) Error: Identifier not found "RequireDerivedFormResource"
 for this line
  RequireDerivedFormResource := True;
in the project1.lpr file.

what rev of lazarus does this your example made for?
windows 10 &11, Ubuntu 21+ IDE 3.4 general releases

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Is there any colorable log component?
« Reply #12 on: January 25, 2013, 10:37:13 am »
I get "project1.lpr(16,30) Error: Identifier not found "RequireDerivedFormResource"
 for this line
  RequireDerivedFormResource := True;
in the project1.lpr file.

what rev of lazarus does this your example made for?
Probably later than 0.9.30. See the changelog/release notes for info about RequireDerivedFormResource. IIRC, you can just delete that line and it should compile.

OTOH, why not upgrade? 1.0.4 has a huge amount of improvements.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018