Re: [Lazarus] UI Design Question

2010-12-17 Thread Piffle the Cat
Hi All, On Wed, 2010-12-15 at 10:39 -0300, Leonardo M. Ramé wrote: > 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é > > wrote: > > > How would you architect this? > > > > If your views don't share any components I would use

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é 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. >

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: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 th

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é 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 -- ___

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 th

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 v

Re: [Lazarus] UI Design Question

2010-12-14 Thread Paul Ishenin
15.12.2010 0:49, Leonardo M. Ramé 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? We do so. Best regards, Paul Ishenin -- ___

[Lazarus] UI Design Question

2010-12-14 Thread Leonardo M . Ramé
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 the data. Deppending on the selected VIEW, the user