Recent

Author Topic: MemoEx  (Read 9024 times)

Arminius

  • New Member
  • *
  • Posts: 39
MemoEx
« on: May 25, 2009, 09:46:15 pm »
Hello,
It would be really important for me to convert this package to Lazarus. Any idea how?
http://lazrevolution.sourceforge.net/memoex.zip
Here is the file.
Thanks in advance.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: MemoEx
« Reply #1 on: May 26, 2009, 11:35:59 am »
Start reading the Code Conversion Guide and convert the package.

Arminius

  • New Member
  • *
  • Posts: 39
Re: MemoEx
« Reply #2 on: May 28, 2009, 10:01:02 pm »
I've worked a bit on it, but I get these errors:
Need help...



MemoEx.pas(202,62) Error: Data element too large
MemoEx.pas(241,14) Error: There is no method in an ancestor class to be overridden: "TEditorStrings.Get(LongInt):ShortString"
MemoEx.pas(247,15) Error: There is no method in an ancestor class to be overridden: "TEditorStrings.Put(LongInt,const ShortString)"
MemoEx.pas(251,15) Error: There is no method in an ancestor class to be overridden: "TEditorStrings.SetTextStr(const ShortString)"
MemoEx.pas(286,14) Error: There is no method in an ancestor class to be overridden: "TEditorStrings.Add(const ShortString):LongInt"
MemoEx.pas(288,15) Error: There is no method in an ancestor class to be overridden: "TEditorStrings.Insert(LongInt,const ShortString)"
MemoEx.pas(290,15) Error: There is no method in an ancestor class to be overridden: "TEditorStrings.LoadFromFile(const ShortString)"
MemoEx.pas(291,15) Error: There is no method in an ancestor class to be overridden: "TEditorStrings.SaveToFile(const ShortString)"
MemoEx.pas(627,53) Error: Identifier not found "TCreateParams"
MemoEx.pas(652,33) Error: Duplicate identifier "Text"
MemoEx.pas(652,33) Hint: Identifier already defined in unit CONTROLS at line 1055
MemoEx.pas(662,32) Error: Duplicate identifier "Text"
MemoEx.pas(662,32) Hint: Identifier already defined in unit CONTROLS at line 1055
MemoEx.pas(678,27) Error: Duplicate identifier "Canvas"
MemoEx.pas(678,27) Hint: Identifier already defined in unit CONTROLS at line 1743
MemoEx.pas(590,15) Warning: An inherited method is hidden by "TCustomMemoEx.SetBorderStyle(TBorderStyle)"
MemoEx.pas(618,15) Warning: An inherited method is hidden by "TCustomMemoEx.FontChanged(TObject)"
MemoEx.pas(627,15) Error: There is no method in an ancestor class to be overridden: "TCustomMemoEx.CreateParams(var<erroneous type>)"
MemoEx.pas(701,14) Warning: An inherited method is hidden by "TCustomMemoEx.GetTextLen:LongInt"
MemoEx.pas(908,22) Error: No property found to override
MemoEx.pas(908,22) Error: That kind of property can't be published
MemoEx.pas(913,28) Error: No property found to override
MemoEx.pas(913,28) Error: That kind of property can't be published
MemoEx.pas(918,25) Error: No property found to override
MemoEx.pas(918,25) Error: That kind of property can't be published
MemoEx.pas(1180,1) Fatal: There were 19 errors compiling module, stopping


I uploaded the "improved" version here:
http://lazrevolution.sourceforge.net/MemoExComponentModified.rar

Arminius

  • New Member
  • *
  • Posts: 39
Re: MemoEx
« Reply #3 on: June 04, 2009, 05:44:50 pm »
Anyone???  :-[

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2292
    • havefunsoft.com
Re: MemoEx
« Reply #4 on: June 04, 2009, 06:06:19 pm »
i could help, but for a small fee.

yes! i'm greedy!
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Arminius

  • New Member
  • *
  • Posts: 39
Re: MemoEx
« Reply #5 on: June 04, 2009, 06:23:59 pm »
i could help, but for a small fee.

yes! i'm greedy!


Your kidding right?
In case you didn't notice this project is free and opensource... people give without asking anything in return.
That's what I have done more than once.
It's the whole point of the free and open source community. That's a really bad attitude.
All I can pay you with is a good challenge and improving your skills...

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2292
    • havefunsoft.com
Re: MemoEx
« Reply #6 on: June 04, 2009, 06:51:59 pm »
It's the whole point of the free and open source community. That's a really bad attitude.
All I can pay you with is a good challenge and improving your skills...
sorry, but i'm freelancer... I don't want to improve my skills, without anyone to pay for it :)

anyway, judging from the sources, MemoEx is custom-drawn edit.
There's one already available in Lazarus, may be you should use it, instead of MemoEx?
http://wiki.lazarus.freepascal.org/RichView
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Arminius

  • New Member
  • *
  • Posts: 39
Re: MemoEx
« Reply #7 on: June 04, 2009, 06:55:22 pm »
The only reason I'm trying to use MemoEx is that it has an unlimited size of memo, instead of 64k.
Thanks for the link, I'll check.
That's a cool thing, people paying you to get better. Maybe I should sell too. How much do you ask (to have some kind of reference) for what type of skills, what payment method? ^^