[fpc-pascal] Searching for database libraries

2012-12-07 Thread Mark Morgan Lloyd
When using something like InitialisePostgres3(), if the approximate location of the database library (.so or .dll) is known, what's the most effective way of finding the exact file? Is there a single routine that does a recursive search? The reason that I ask is that it appears that the most e

[fpc-pascal] FCL-JSON: Getting the data into pascal classes

2012-12-07 Thread Reimar Grabowski
Hi, I have a relatively simple JSON object consisting of some integer and string fields and a large (500-50 entries) float array. Following the parsedemo.pp I extract the values from JSON and put them in my pascal class. All works as expected only that I do not seem to find a method to copy

Re: [fpc-pascal] Property alias

2012-12-07 Thread Krzysztof
Thanks 2012/12/7 Howard Page-Clark > On 07/12/12 2:50, Krzysztof wrote: > >> Hi, >> >> Interfaces can have aliases for functions: >> >> Function MyOtherFunction : Integer; >> Function IMyInterface.MyFunc = MyOtherFunction; >> >> Can normal object have aliases for properties? For examp

Re: [fpc-pascal] Property alias

2012-12-07 Thread Howard Page-Clark
On 07/12/12 2:50, Krzysztof wrote: Hi, Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for properties? For example, TControl.Caption. I would like to publish this property in

Re: [fpc-pascal] Property alias

2012-12-07 Thread michael . vancanneyt
On Fri, 7 Dec 2012, Krzysztof wrote: Hi, Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for properties? For example, TControl.Caption. I would like to publish this property i

[fpc-pascal] Property alias

2012-12-07 Thread Krzysztof
Hi, Interfaces can have aliases for functions: Function MyOtherFunction : Integer; Function IMyInterface.MyFunc = MyOtherFunction; Can normal object have aliases for properties? For example, TControl.Caption. I would like to publish this property in my descendant as "MyExtraText". Is thi