[lazarus] DropFiles Implementation

2008-01-20 Thread Christian U.
Hi, We had an discussion about the OnDropFiles implementation in german lazarus forum lately. And most people had the meaning that the current implementation is not so good. The main problem is that it is impossible to drop files to special controls. In most cases the people dont need the F

Re: [lazarus] DropFiles Implementation

2008-01-20 Thread Paul Ishenin
Christian U. wrote: The second thing is I think it is not very LCLisch. I think an correct implementation add an OnDropFiles event to TWinControl or TCustomControl and not to TForm. I think we should think twice about these and implement it bevore 1.0 after that we shouldnt break existing code.

Re: [lazarus] DropFiles Implementation

2008-01-20 Thread Christian U.
Paul Ishenin schrieb: Christian U. wrote: The second thing is I think it is not very LCLisch. I think an correct implementation add an OnDropFiles event to TWinControl or TCustomControl and not to TForm. I think we should think twice about these and implement it bevore 1.0 after that we should

Re: [lazarus] DropFiles Implementation

2008-01-28 Thread Felipe Monteiro de Carvalho
bump. I think this is a relevant discussion which needs an answer from Tom to progress. thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archi

Re: [lazarus] DropFiles Implementation

2008-01-29 Thread Tom Gregorovic
On Jan 28, 2008 10:35 PM, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > bump. > > I think this is a relevant discussion which needs an answer from Tom > to progress. > Well, we can extend the recent drop files functionality to every TWinControl and change its handling to OnDragDrop, as

Re: [lazarus] DropFiles Implementation

2008-01-29 Thread Felipe Monteiro de Carvalho
Did OnDropFiles make it to 0.9.24? If so, any radical change can potentially cause a lot of headache for people already using it. On Jan 29, 2008 3:46 PM, Tom Gregorovic <[EMAIL PROTECTED]> wrote: > - there must be some property to enable accepting files, like does > AllowDropFiles now Maybe it c

Re: [lazarus] DropFiles Implementation

2008-01-29 Thread Christian U.
Felipe Monteiro de Carvalho schrieb: Did OnDropFiles make it to 0.9.24? If so, any radical change can potentially cause a lot of headache for people already using it. We should remove it as fast as possible. (Just my Opinion). On Jan 29, 2008 3:46 PM, Tom Gregorovic <[EMAIL PROTECTED]> wrot

Re: [lazarus] DropFiles Implementation

2008-01-29 Thread Christian U.
One idea: Maybe OnDropFiles could represent drag-drop between app and system and OnDragDrop simply inside the app? Paul Isenheim had the same idea some Time bevore in this thread: >>>What for we need OnDropFiles? We already have OnDragOver and OnDragDrop. To distinct that we are dragging f

Re: [lazarus] DropFiles Implementation

2008-01-30 Thread Tom Gregorovic
On Jan 29, 2008 8:25 PM, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > Did OnDropFiles make it to 0.9.24? If so, any radical change can > potentially cause a lot of headache for people already using it. > > On Jan 29, 2008 3:46 PM, Tom Gregorovic <[EMAIL PROTECTED]> wrote: > > - there mu

Re: [lazarus] DropFiles Implementation

2008-01-30 Thread Paul Ishenin
Tom Gregorovic пишет: Then there will be problem, how to track this feature inside some custom controls. Assigning to a published event is not a clear solution. Maybe instead of property there can be some protected function like SetAllowDropFiles for these cases. But I think the others want to h