Re: [Lazarus] Clipboard.HasFormat issue

2009-03-29 Thread Alexander Klenin
On Sun, Mar 29, 2009 at 07:43, Michael Van Canneyt wrote: > The HasFormat() function calls EnumClipboardFormats, among other things. > I'll investigate how it behaves if I call EnumClipboardFormats directly. While at it, could you reproduce http://bugs.freepascal.org/view.php?id=11548 ? I still g

Re: [Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Michael Van Canneyt
On Sat, 28 Mar 2009, Hans-Peter Diettrich wrote: > Michael Van Canneyt schrieb: > > > Is there a reason why ClipBoard.HasFormat() is so slow ? > > > > Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action > > coupled to a toolbutton, seriously slows down an application, t

Re: [Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: > Is there a reason why ClipBoard.HasFormat() is so slow ? > > Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action > coupled to a toolbutton, seriously slows down an application, to the point > of being unusable. If I comment out the call, the

Re: [Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Mehmet Erol Sanliturk
On Saturday 28 March 2009 12:36:53 pm Michael Van Canneyt wrote: > Hi, > > Is there a reason why ClipBoard.HasFormat() is so slow ? > > Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action > coupled to a toolbutton, seriously slows down an application, to the point > of being

[Lazarus] Clipboard.HasFormat issue

2009-03-28 Thread Michael Van Canneyt
Hi, Is there a reason why ClipBoard.HasFormat() is so slow ? Putting a call to ClipBoard.HasFormat() in an OnUpdate handler of an action coupled to a toolbutton, seriously slows down an application, to the point of being unusable. If I comment out the call, the application responds normally. Thi