[Lazarus] Mac OS X : Drag n Drop within TListBox not working correctly..

2009-08-02 Thread dominique
Hi all, If I 1. create a new application 2. Drop a TListBox on the form 3. Set DragMode on the Listbox to dmAutomatic. 4. Hook up events for OnDragOver and OnDragDrop The events in step 4 never fire. On the other hand The StartDrag and EngDrag events fire regard less of if the Mode is dmAutoma

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Silvio Clecio
Em 31/7/2009 21:17, Andrew Brunner escreveu: Hi All. I have a data type of TStringArray=Array of String... Under debugger (GDB Linux) I can't access any of the elements. Is there a compiler option to enable information during debugging and or watching? Presently, when Inspecting or Viewing I

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Andrew Brunner
Thanks Silvio, I'm not having a problem a problem with code running. I'm not able to Inspect the contents of VStringArray while debugging via GDB in Ubuntu. Can you inspect the variable VStringArray? How about VStringArray[0]? I can not. This is a fresh build of FPC and Lazarus from TRUNK and

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Martin
Andrew Brunner wrote: Thanks Silvio, I'm not having a problem a problem with code running. I'm not able to Inspect the contents of VStringArray while debugging via GDB in Ubuntu. Can you inspect the variable VStringArray? How about VStringArray[0]? I can not. This is a fresh build of FPC an

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Martin
please also read http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips Martin wrote: Andrew Brunner wrote: Thanks Silvio, I'm not having a problem a problem with code running. I'm not able to Inspect the contents of VStringArray while debugging via GDB in Ubuntu. Can you inspect the variable

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Silvio Clecio
Em 2/8/2009 19:58, Martin escreveu: please also read http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips Martin wrote: Andrew Brunner wrote: Thanks Silvio, I'm not having a problem a problem with code running. I'm not able to Inspect the contents of VStringArray while debugging via GDB in Ub

Re: [Lazarus] Debugging and Structured Data Arrays

2009-08-02 Thread Martin
Try (note you need to add 4, to get to the next string) PChar(^LONGINT(^LONGINT(@t)^+0)^) PChar(^LONGINT(^LONGINT(@t)^+4)^) PChar(^LONGINT(^LONGINT(@t)^+8)^) and for the length of array (minus 4) ^LONGINT(^LONGINT(@t)^-4)^ Read also http://forum.lazarus.freepascal.org/index.php/topic,4763.msg2

Re: [Lazarus] Mac OS X : Drag n Drop within TListBox not working correctly..

2009-08-02 Thread dmitry boyarintsev
> Anyone else seeing this? Should I Mantis it? no need: http://bugs.freepascal.org/view.php?id=12545 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Mac OS X : Drag n Drop within TListBox not working correctly..

2009-08-02 Thread Hans-Peter Diettrich
domini...@savagesoftwaresolutions.com schrieb: If I 1. create a new application 2. Drop a TListBox on the form 3. Set DragMode on the Listbox to dmAutomatic. 4. Hook up events for OnDragOver and OnDragDrop The events in step 4 never fire. TWinControls are rarely draggable, in detail wrappe