[Lazarus] lclclasses.pp(48, 25) Error: identifier not found: TComponent

2012-11-12 Thread Eric Kom
Good day, Please I got a problem when trying to create a OnClick Event for TMenuItem. Below are the messages error: The component editor of class TDefaultComponentEditorhas created the error: Unable to find method. Please fix the error shown in the message window, which is normally below the

Re: [Lazarus] lclclasses.pp(48, 25) Error: identifier not found: TComponent

2012-11-12 Thread Bart
Sometimes re-scanning the fpc-source directory helps. Most of the time re-starting lazarus helps. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Removing a character from string

2012-11-12 Thread Richard Mace
Hi all, I was sure there was a function to do this, but I can't seem to find it. How would I remove a character from a string? Many thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Removing a character from string

2012-11-12 Thread michael . vancanneyt
On Mon, 12 Nov 2012, Richard Mace wrote: Hi all, I was sure there was a function to do this, but I can't seem to find it. How would I remove a character from a string? if P is the position: Delete(S,p,1); Note that if S is an UTF-8 string, and at p there is a unicode control code, this

Re: [Lazarus] Removing a character from string

2012-11-12 Thread bsquared
On 11/12/2012 08:16 AM, Richard Mace wrote: Hi all, I was sure there was a function to do this, but I can't seem to find it. How would I remove a character from a string? Many thanks Richard -- ___ Lazarus mailing list

Re: [Lazarus] Removing a character from string

2012-11-12 Thread Richard Mace
Michael, Thanks. What would be the best way of finding the position of char in a string (Windows only) Thanks Richard *Richard Mace* *Are you interested in an additional income working part time and without affecting what you already do?* Then watch this

Re: [Lazarus] Removing a character from string

2012-11-12 Thread michael . vancanneyt
On Mon, 12 Nov 2012, Richard Mace wrote: Michael, Thanks. What would be the best way of finding the position of char in a string (Windows only) Pos(C,S); Where C is the char and S the string. See http://www.freepascal.org/docs-html/rtl/system/pos.html Michael. --

Re: [Lazarus] Snapshots

2012-11-12 Thread silvioprog
Thank you guys! :) I downloaded from: http://michael-ep3.physik.uni-halle.de/Lazarus/snapshots/ Thank you again. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus