Re: [Lazarus] creating multiple non-modal form instances

2009-02-03 Thread Michael Van Canneyt
On Tue, 3 Feb 2009, Graeme Geldenhuys wrote: Hi, I have a listing screen (grid based) that allows various views and filters - selected by the user. I want the user to be able to open multiple instances of that listing screen. Each with there own views and filters. How do I create such

Re: [Lazarus] creating multiple non-modal form instances

2009-02-03 Thread Graeme Geldenhuys
On Tue, Feb 3, 2009 at 11:33 AM, Michael Van Canneyt mich...@freepascal.org wrote: { very basic unique name and should probably be improved} frm.Name := frm.Name + IntToStr(Screen.FormCount + 1); That will break if you have for example 5 forms, close form 4 and then create a new form.

Re: [Lazarus] creating multiple non-modal form instances

2009-02-03 Thread Michael Van Canneyt
On Tue, 3 Feb 2009, Graeme Geldenhuys wrote: On Tue, Feb 3, 2009 at 11:20 AM, Michael Van Canneyt mich...@freepascal.org wrote: Just do a With TLearnerListForm.Create(Application) do begin Initialize; Show; end; Where is Initialize defined? I only found

Re: [Lazarus] creating multiple non-modal form instances

2009-02-03 Thread Malcolm Poole
Graeme Geldenhuys wrote: How do I track such instances? By tracking I mean something like a MDI interface's 'Windows' menu item? My application is a SDI style app. If the user has many forms open, I want them to somehow be able to bring a certain form to the front. Or should I not bother and

Re: [Lazarus] creating multiple non-modal form instances

2009-02-03 Thread Darmawan Sugiarto
ALEXIO CHAOS darmawan_sugia...@yahoo.com Yahoo Messager = --- On Tue, 2/3/09, Malcolm Poole malc...@lingua-z.co.uk wrote: From: Malcolm Poole malc...@lingua-z.co.uk Subject: Re: [Lazarus] creating multiple non-modal form instances To: General