On Sun, 24 Jun 2007 14:21:26 +0200 Tom Gregorovic <[EMAIL PROTECTED]> wrote:
> Vincent Snijders napsal(a): > > >On Fri, 22 Jun 2007 17:03:49 +0200 > >Tom Gregorovic <[EMAIL PROTECTED]> wrote: > > > > > > > >>Hi, > >>I have started Wiki page for this issue, called "Drop files event" (see: > >>http://wiki.lazarus.freepascal.org/Files_drop_event). > >>Feel free to add there your notes and ideas. > >>When the details will are clear, I could start implementation for LCL, > >>Win and Carbon. > >> > >> > >> > > > >Maybe it is better to call the event OnDropFile or OnDropFiles instead of > >the proposed OnFilesDrop. > > > I stand for OnFilesDrop. There are similar event names, like OnDockDrop. > It is in plural to show it is handling array of files (array event > parameter is quite unusual). I agree with the plural. >From http://wiki.lazarus.freepascal.org/Nomenclature: Event properties should be named On.... starting with an adjective, then verb, then a noun (some are optional): like OnFilterRecord, OnPostError, OnDblClick (adjective to verb first) I don't know the OnDockDrop event, but to me it seems to signal a state while docking: first you dock over (OnDockOver) and then you Dock what has been dropped. Dock is the verb. But this is speculation... Vincent Vincent _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
