Re: [Lazarus] Examples of IniPropStorage?

2009-02-22 Thread Vincent Snijders
Michael Van Canneyt schreef: > > On Sun, 22 Feb 2009, David W Noon wrote: > >> On Sun, 2009-02-22 at 13:39 +0100, Michael Van Canneyt wrote: >>> Attached is a patch for propertystorage; Could you please test if >>> you still get the access violation when the patch was applied ? >> That patch fixe

Re: [Lazarus] Examples of IniPropStorage?

2009-02-22 Thread Michael Van Canneyt
On Sun, 22 Feb 2009, David W Noon wrote: > On Sun, 2009-02-22 at 13:39 +0100, Michael Van Canneyt wrote: > > > On Sat, 21 Feb 2009, David W Noon wrote: > > > > >Name_field.Text := Ini_props.ReadString('Name', ''); > > > > > > The second approach has much neater syntax, plus it allows me t

Re: [Lazarus] Examples of IniPropStorage?

2009-02-22 Thread David W Noon
On Sun, 2009-02-22 at 13:39 +0100, Michael Van Canneyt wrote: > On Sat, 21 Feb 2009, David W Noon wrote: > > >Name_field.Text := Ini_props.ReadString('Name', ''); > > > > The second approach has much neater syntax, plus it allows me to specify > > a default value if the required section of t

Re: [Lazarus] Examples of IniPropStorage?

2009-02-22 Thread Michael Van Canneyt
On Sat, 21 Feb 2009, David W Noon wrote: > On Sat, 2009-02-21 at 19:06 +0100, Luca Olivetti wrote: > > > En/na David W Noon ha escrit: > [snip] > > > If there are none, could somebody please give me a quick sample they > > > have knocked up for their own use? Thanks in advance. > > > > Drop a T

Re: [Lazarus] Examples of IniPropStorage?

2009-02-22 Thread Luca Olivetti
En/na David W Noon ha escrit: > On Sat, 2009-02-21 at 19:06 +0100, Luca Olivetti wrote: > >> En/na David W Noon ha escrit: > [snip] >>> If there are none, could somebody please give me a quick sample they >>> have knocked up for their own use? Thanks in advance. >> Drop a TIniPropStorage on the fo

Re: [Lazarus] Examples of IniPropStorage?

2009-02-21 Thread David W Noon
On Sat, 2009-02-21 at 19:06 +0100, Luca Olivetti wrote: > En/na David W Noon ha escrit: [snip] > > If there are none, could somebody please give me a quick sample they > > have knocked up for their own use? Thanks in advance. > > Drop a TIniPropStorage on the form, let's call it FormStorage. > Put

Re: [Lazarus] Examples of IniPropStorage?

2009-02-21 Thread Luca Olivetti
En/na David W Noon ha escrit: > Hi all, > > Are there any examples of the usage of TIniPropStorage objects? I have > searched the examples supplied with Lazarus, but could find none. > > If there are none, could somebody please give me a quick sample they > have knocked up for their own use? Than

[Lazarus] Examples of IniPropStorage?

2009-02-21 Thread David W Noon
Hi all, Are there any examples of the usage of TIniPropStorage objects? I have searched the examples supplied with Lazarus, but could find none. If there are none, could somebody please give me a quick sample they have knocked up for their own use? Thanks in advance. -- Regards, Dave [RLU #31