Re: [Lazarus] UI Design Question

2010-12-15 Thread Birger Jansen
To solve this, I'm thinking on creating many TFrames containing one toolbar each (and one TActionList also), and create an instance of the needed one when a VIEW is activated. How would you architect this? I would register the possible actions for each VIEW in the same unit as where the view

Re: [Lazarus] UI Design Question

2010-12-15 Thread michael . vancanneyt
On Tue, 14 Dec 2010, Leonardo M. Ramé wrote: Hi, this is more an application design question than a Lazarus related one, but, since I'm developing with Lazarus, I'll ask here :-). My app has different ways to show medical data, I call each a VIEW, that let the user do different things with

Re: [Lazarus] UI Design Question

2010-12-15 Thread Felipe Monteiro de Carvalho
On Tue, Dec 14, 2010 at 6:49 PM, Leonardo M. Ramé l.r...@griensu.com wrote: How would you architect this? If your views don't share any components I would use the new TNotebook which will appear after the next release. That's what I use. -- Felipe Monteiro de Carvalho --

[Lazarus] Message dialogs in Lazarus

2010-12-15 Thread michael . vancanneyt
Hi, I just upgraded to revision 28712 of Lazarus, and really almost all message dialogs are messed up. Sometimes, the button captions make no sense whatsoever. Every message (or question) dialog I encountered seems affected by this. Just one example, after execution: Execution stopped: Yes

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread Paul Ishenin
15.12.2010 16:34, michael.vancann...@wisa.be wrote: I just upgraded to revision 28712 of Lazarus, and really almost all message dialogs are messed up. Sometimes, the button captions make no sense whatsoever. Every message (or question) dialog I encountered seems affected by this. Just one

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread michael . vancanneyt
On Wed, 15 Dec 2010, Paul Ishenin wrote: 15.12.2010 16:34, michael.vancann...@wisa.be wrote: I just upgraded to revision 28712 of Lazarus, and really almost all message dialogs are messed up. Sometimes, the button captions make no sense whatsoever. Every message (or question) dialog I

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread Felipe Monteiro de Carvalho
I can reproduce in gtk 2 / x86 -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread Paul Ishenin
15.12.2010 16:41, michael.vancann...@wisa.be wrote: Linux 64-bit, GTK 2 But I would be very surprised if it was widget set dependent ? Not long ago we rewrote QuestionDlg function to use native dialog function when possible (to make IDE and other LCL applications look more standard). Of

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread michael . vancanneyt
On Wed, 15 Dec 2010, Paul Ishenin wrote: 15.12.2010 16:41, michael.vancann...@wisa.be wrote: Linux 64-bit, GTK 2 But I would be very surprised if it was widget set dependent ? Not long ago we rewrote QuestionDlg function to use native dialog function when possible (to make IDE and other

Re: [Lazarus] UI Design Question

2010-12-15 Thread Leonardo M . Ramé
On 2010-12-15 10:10:12 +0100, Birger Jansen wrote: To solve this, I'm thinking on creating many TFrames containing one toolbar each (and one TActionList also), and create an instance of the needed one when a VIEW is activated. How would you architect this? I would register the possible

Re: [Lazarus] UI Design Question

2010-12-15 Thread Birger Jansen
I like the idea, the only drawback I see is that I'll have to write by hand the code I should create with the designer, but I like it. Yes, you will need to write (create?) some more code by hand. But you know you will never ever miss something because it was set in some far-far-away 3-levels

Re: [Lazarus] UI Design Question

2010-12-15 Thread Leonardo M . Ramé
On 2010-12-15 10:22:35 +0100, Felipe Monteiro de Carvalho wrote: On Tue, Dec 14, 2010 at 6:49 PM, Leonardo M. Ramé l.r...@griensu.com wrote: How would you architect this? If your views don't share any components I would use the new TNotebook which will appear after the next release. That's

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread zeljko
On Wednesday 15 December 2010 10:34, michael.vancann...@wisa.be wrote: Hi, I just upgraded to revision 28712 of Lazarus, and really almost all message dialogs are messed up. Sometimes, the button captions make no sense whatsoever. Every message (or question) dialog I encountered seems

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread michael . vancanneyt
On Wed, 15 Dec 2010, zeljko wrote: On Wednesday 15 December 2010 10:34, michael.vancann...@wisa.be wrote: Hi, I just upgraded to revision 28712 of Lazarus, and really almost all message dialogs are messed up. Sometimes, the button captions make no sense whatsoever. Every message (or

[Lazarus] Compile error on Win7 x64

2010-12-15 Thread Erwin van den Bosch
Hello, I'm getting compile errors on the current SVN on Windows 7 x64 / fpc 2.4.3. Error: Can't overide method Realloc. No Int64 ...etc unit LCLMemManager; ... ... {$IF FPC_FULLVERSION20402} TStreamSizeType = PtrInt; {$ELSE} TStreamSizeType = Longint; {$IFEND} { TExtMemoryStream }

Re: [Lazarus] Compile error on Win7 x64

2010-12-15 Thread Vincent Snijders
2010/12/15 Erwin van den Bosch er...@deseine.nl: Hello, I'm getting compile errors on the current SVN on Windows 7 x64 / fpc 2.4.3. Error: Can't overide method Realloc. No Int64 ...etc I think your fpc 2.4.3 is not up to date. Vincent -- ___

Re: [Lazarus] Compile error on Win7 x64

2010-12-15 Thread Erwin van den Bosch
Vincent, I will check that. Thanks for quick answer! Erwin Op 15-12-2010 17:03, Vincent Snijders schreef: 2010/12/15 Erwin van den Boscher...@deseine.nl: Hello, I'm getting compile errors on the current SVN on Windows 7 x64 / fpc 2.4.3. Error: Can't overide method Realloc. No Int64

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread zeljko
On Wednesday 15 December 2010 16:00, michael.vancann...@wisa.be wrote: When project information file changes: Project changed on disk The project information file sopmefile has changed on disk. Ignore yes No question, and 'Ignore', 'yes'. ahhhButtons[].Caption should be used in

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread Michael Van Canneyt
On Wed, 15 Dec 2010, zeljko wrote: On Wednesday 15 December 2010 16:00, michael.vancann...@wisa.be wrote: When project information file changes: Project changed on disk The project information file sopmefile has changed on disk. Ignore yes No question, and 'Ignore', 'yes'.

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread michael . vancanneyt
On Wed, 15 Dec 2010, Michael Van Canneyt wrote: On Wed, 15 Dec 2010, zeljko wrote: On Wednesday 15 December 2010 16:00, michael.vancann...@wisa.be wrote: When project information file changes: Project changed on disk The project information file sopmefile has changed on disk. Ignore

Re: [Lazarus] Message dialogs in Lazarus

2010-12-15 Thread zeljko
On Wednesday 15 December 2010 21:14, michael.vancann...@wisa.be wrote: On Wed, 15 Dec 2010, Michael Van Canneyt wrote: On Wed, 15 Dec 2010, zeljko wrote: On Wednesday 15 December 2010 16:00, michael.vancann...@wisa.be wrote: When project information file changes: Project changed on disk