Re: Free Pascal widget set

2006-08-20 Thread Aleš Katona
And is already done... And is crappy and slow... _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

[lazarus] parameterized queries

2006-08-20 Thread Zlatko Matić
Hello. I just tried to put some parameterized query on a form and pass the parameter's value through code. The query is the following: select distinct sampling_types.sampling_type, plants.plant, plants.departmentfrom ((sampling_types join batches_microbs on

Re: [lazarus] Help with lazarus in Xubuntu 6.06

2006-08-20 Thread Marco Ciampa
On Fri, Aug 18, 2006 at 08:46:33AM +0200, Graeme Geldenhuys wrote: On 8/17/06, Juan Martinez [EMAIL PROTECTED] wrote: Hi all! Have you tried ubuntupiu (ubuntuplus for non italian speakers...)? It's an italian addeddum for ubuntu. It contains pre-build deb ubuntu packages.

Re: [lazarus] Using lazarus with a fpc source and unit tree from svn?

2006-08-20 Thread Mattias Gaertner
On Sun, 20 Aug 2006 21:00:10 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Is there an easy to setup way (not making a huge fpc.cfg) to convince lazarus to use units and sources from a checked out and compiled (not installed!) fpc tree? Short: Yes. Long: I assume, you have a normal fpc

Re: [lazarus] Using lazarus with a fpc source and unit tree from svn?

2006-08-20 Thread Florian Klaempfl
Mattias Gaertner wrote: On Sun, 20 Aug 2006 21:00:10 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Is there an easy to setup way (not making a huge fpc.cfg) to convince lazarus to use units and sources from a checked out and compiled (not installed!) fpc tree? Short: Yes. Long: I

Re: [lazarus] Using lazarus with a fpc source and unit tree from svn?

2006-08-20 Thread Mattias Gaertner
On Sun, 20 Aug 2006 22:45:09 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sun, 20 Aug 2006 21:00:10 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Is there an easy to setup way (not making a huge fpc.cfg) to convince lazarus to use units and sources from

[lazarus] class-references

2006-08-20 Thread Albert Zeyer
Hello, I want to use class-references (class of SOMECLASS) as a way for a dynamic object factory. First I tried it with the predefined type TClass (:= class of TObject), but this doesn't work, because Create is not virtual in TObject (it costs some time to find out that this is the problem,

[lazarus] cast interface to object

2006-08-20 Thread Albert Zeyer
Hi, Is there a way to cast an interface to an object? If I have an interface: IBlub = interface function GetSomething(): TObject; end; And somewhere, I have: var Blub: IBlub; ... Therefore, Blub is an interface-reference to some object which implements the interface. How can I get this

Re: [lazarus] cast interface to object

2006-08-20 Thread Cesar Romero
I usually use GetImplementor IMyInterface = interface(IInterface) [...] function GetImplementor: TObject; ... end; TMyObject = class(TInterfacedObject, IMyInterface) ... protected function GetImplementor: TObject; ... end; function TMyObject.GetImplementor: TObject; begin Result:= Self;