Browse Lookups

Paul McNary pmcnary at cameron.net
Tue Jun 26 10:45:26 PDT 2018


I like the idea of callbacks in filePro! :-)


On 6/26/2018 11:17 AM, Fairlight via Filepro-list wrote:
> On Tue, Jun 26, 2018 at 11:38:36AM -0400, Richard Kreiss via Filepro-list thus spoke:
>> I would love to be able to set a timer for a browse which would execute a
>> sub-routine.
> You're thinking very old-school.
>
> What would be better than a timer is a set of configurable callbacks which
> execute processing table segments upon various events.
>
> * Begin lookup
> * Changed record
> * End of matches
> * Close lookup
>
> In this fashion, you can configure what you like, without having to rely
> on an arbitrary timer which may be smaller than desirable, or larger than
> necessary (thus wasting time).  Timers generally suck, to put it bluntly.
> They're often too crude a tool.  Events are a much better methodology for
> this sort of functionality.
>
> And lo and behold, filePro already supports events in general terms.  So
> why not have @brsbeg, @brsrcd, @brsend, and @brscls as system-based events
> which function like conventional callbacks?
>
> m->



More information about the Filepro-list mailing list