[Lazarus] Passing Sender to a sub procedure

2012-09-22 Thread Terry A. Haimann
Is there away I can pass a variable from sender (A String Grid) to a sub Procedure. When I try I get a: main.pas(264,86) Error: Only class class methods, class properties and class variables can be accessed in class methods This is from the procedure called by an event and I need to do

Re: [Lazarus] Request: In Search|Replace|Replace All dialog, show total replacements made

2012-09-22 Thread Mattias Gaertner
On Thu, 20 Sep 2012 12:23:59 -0700 (PDT) Ajeandro Gonzalo parkingspac...@yahoo.com wrote: This will give us a hint that we may have made a mistake if the total replacements is not in the range expected. This is a typical feature of replace dialogs elsewhere, including in Delphi (I think).

Re: [Lazarus] Passing Sender to a sub procedure

2012-09-22 Thread leledumbo
Code please? The error indicates that you're accessing instance members from a class member. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Passing-Sender-to-a-sub-procedure-tp4026765p4026767.html Sent from the Free Pascal - Lazarus mailing list