Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-10 Thread James Chandler Jr
Thanks Paul Yesterday I noticed that some of the lazarus files in my usr folder were not up-to-date with the svn. They were about a week old. Had been using a script which downloads the svn and compiles the code, and something must have 'silently' failed in that script last time I ran it

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-10 Thread Paul Ishenin
James Chandler Jr wrote: Thanks Paul Yesterday I noticed that some of the lazarus files in my usr folder were not up-to-date with the svn. They were about a week old. Had been using a script which downloads the svn and compiles the code, and something must have 'silently' failed in that

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-07 Thread Paul Ishenin
James Chandler Jr wrote: I need to go back and look more closely, but cursor-setting (for both controls whose cursors work and controls whose cursors don't work) eventually passes thru a SetTempCursor(). But there may be more than one instance of a SetTempCursor() method in there somewhere.

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-06 Thread James Chandler Jr
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

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-06 Thread Felipe Monteiro de Carvalho
How does LCL set the cursor set for controls without a handle? I would guess that the parent component analyses mouse move events and then searchs it's child controls to see when the mouse is in an area which should have a different cursor, is that it? -- Felipe Monteiro de Carvalho

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-06 Thread James Chandler Jr
On Oct 6, 2007, at 9:57 AM, Felipe Monteiro de Carvalho wrote: How does LCL set the cursor set for controls without a handle? I would guess that the parent component analyses mouse move events and then searchs it's child controls to see when the mouse is in an area which should have a different

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-06 Thread Felipe Monteiro de Carvalho
Honestly I am as clueless as you are, but having worked a lot with qt, wince, etc, interfaces I got some guesses =) First I imagined it could be that there is a function in LCLIntf, like SetCursor, maybe a winapi emulation like there is in many places ... nope, apperantly there is no such thing.

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-06 Thread James Chandler Jr
Thanks for the good advice, Felipe! On Oct 6, 2007, at 2:05 PM, Felipe Monteiro de Carvalho wrote: Honestly I am as clueless as you are, but having worked a lot with qt, wince, etc, interfaces I got some guesses =) First I imagined it could be that there is a function in LCLIntf, like

[lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-05 Thread James Chandler Jr
Hi I'm working with Peter Gannon and Adriaan Van Os on a music app that was ported from Delphi2006 to PC Lazarus, and then ported into a Carbon Lazarus program compiling/debugging in XCode. We have worked out most problems and we are mopping up a few remaining issues. Overall it is

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-05 Thread Paul Ishenin
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

Re: [lazarus] Debugging SetCursor in Carbon Lazarus

2007-10-05 Thread James Chandler Jr
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