Thanks very much Paul. I'll check that this morning.

jcjr

On Oct 5, 2007, at 2:57 AM, Paul Ishenin wrote:

James Chandler Jr wrote:

[skip]

These TPaintBoxes are embedded in a TPanel, but maybe that isn't a contributor to the bug, because the TButtons whose Cursors work correctly, are embedded in TPanels too.

Is TPaintBox.Cursor works when it placed to form (without TPanel layer)?

A TButton (which works), descends from TButtonControl which descends from TWinControl which descends from TControl
> A TPaintBox descends from TGraphicControl which descends from TControl.

This is the big difference since TWinControl have own window handle while TGraphicControl do all job through its parent (wich must be TWinControl).

So TPaintBox trying to set it cursor through TPanel. Please check if TPanel.Cursor will work.

Please create bug tracker report for this problem with test application. This way you will give us ability to reproduce the same situation as you have.

Best regards,
Paul Ishenin.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to