Re: [Lazarus] Form in DLL

2012-05-02 Thread Michael Fuchs
Am 02.05.2012 14:02, schrieb Felipe Monteiro de Carvalho: No, I think you made it the proper way. There are no objects being passed between the executable and the library and you also utilized ShowModal. I think that this approach has everything for it to work in all desktop platforms. So, ther

Re: [Lazarus] Comments on rev 36091 / issue #21459

2012-05-02 Thread Craig Peterson
On May 2, 2012, at 7:08 PM, Paul Ishenin wrote: > Then the applied fix needs to be reimplemented. The need to show a non-modal > form on top of modal is needed even for LCL components - for TDateEdit and > TCalcEdit as they use forms for dropping down editors. Similar needs exists > in many oth

Re: [Lazarus] Comments on rev 36091 / issue #21459

2012-05-02 Thread Paul Ishenin
03.05.2012 1:05, David Jenkins wrote: We've run into a conflict between the fix applied for issue #21459 and our application that has lead to some examination of that patch and we believe that it is not correct. Since the issue is closed I chose to start out discussion here. If desired I can ente

Re: [Lazarus] TStringGrid: Custom Columns x standard columns

2012-05-02 Thread John Landmesser
On 02.05.2012 17:09, Alexsander Rosa wrote: How do I get the column index (for use with Cells[]) from a TColumn's "title" with ColMove enabled? I need to track where the user moved the column to; at first, TColumn[0] is at column 1 (FixedCols=1). When the user moves TColumn[0] to somewhere else,

[Lazarus] Comments on rev 36091 / issue #21459

2012-05-02 Thread David Jenkins
We've run into a conflict between the fix applied for issue #21459 and our application that has lead to some examination of that patch and we believe that it is not correct. Since the issue is closed I chose to start out discussion here. If desired I can enter a new issue. We agree that OSX

[Lazarus] TStringGrid: Custom Columns x standard columns

2012-05-02 Thread Alexsander Rosa
How do I get the column index (for use with Cells[]) from a TColumn's "title" with ColMove enabled? I need to track where the user moved the column to; at first, TColumn[0] is at column 1 (FixedCols=1). When the user moves TColumn[0] to somewhere else, how do I keep track of that? -- Atenciosamen

Re: [Lazarus] Form in DLL

2012-05-02 Thread Felipe Monteiro de Carvalho
On Mon, Apr 30, 2012 at 11:43 PM, Michael Fuchs wrote: > Is this a bad idea? No, I think you made it the proper way. There are no objects being passed between the executable and the library and you also utilized ShowModal. I think that this approach has everything for it to work in all desktop pl

Re: [Lazarus] Form in DLL

2012-05-02 Thread Michael Schnell
Without doing something special a DLL does have it's own memory manager (because the calling program might be not an FPC program and uses an incompatible memory manager) but it does not have it's own Thread (because the original purpose of a DLL is just providing callable functions). So you c

Re: [Lazarus] Strip debug info

2012-05-02 Thread Žilvinas Ledas
On 2012-05-02 11:31, Michael Schnell wrote: On 05/01/2012 12:54 AM, Bernd wrote: There are build modes. In fact I do understand that I can create build mode variables (macros) that can be checked with "{$if" in the source code, but I don't know how to use those to select different compile opt

Re: [Lazarus] Strip debug info

2012-05-02 Thread Michael Schnell
On 05/01/2012 12:54 AM, Bernd wrote: There are build modes. In fact I do understand that I can create build mode variables (macros) that can be checked with "{$if" in the source code, but I don't know how to use those to select different compile options (such as smart linking, optimizing or de