Re: OnFilterRecord
- From: "UN" <ukko_noa@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Apr 2005 22:17:01 +0300
"Bruce Roberts" <ber@xxxxxxxxxxxxxxxxxxxxxx> wrote in message news:BDvbe.2369$BW6.564369@xxxxxxxxxxxxxxxxxxxxxxxx
OnFilterRecord is of type tFilterRecordEvent, not string. And its not the
name of a procedure, its a method - an important distinction. If you want to
know the setting of OnFilterRecord you should be able to do something like
if Assigned (onFilterRecord) then begin if onFilterRecord = someFilterMethod then begin
Ok, understood. But: I have two methods procedure TForm1.FindName(DataSet: TDataSet; var Accept: Boolean); procedure TForm1.FindNames(DataSet: TDataSet; var Accept: Boolean);
If I have to know which one is on, the statement
if Assigned (OnFilterRecord) then if OnFilterRecord = FindName then ...
causes an error 'Not enough actual parameters'.
.
- Follow-Ups:
- Re: OnFilterRecord
- From: Bruce Roberts
- Re: OnFilterRecord
- References:
- OnFilterRecord
- From: UN
- Re: OnFilterRecord
- From: Sander Martens
- Re: OnFilterRecord
- From: UN
- Re: OnFilterRecord
- From: Sander Martens
- Re: OnFilterRecord
- From: UN
- Re: OnFilterRecord
- From: Bruce Roberts
- OnFilterRecord
- Prev by Date: Re: OnFilterRecord
- Next by Date: Re: Faster way of making long string?
- Previous by thread: Re: OnFilterRecord
- Next by thread: Re: OnFilterRecord
- Index(es):
Relevant Pages
|