thank you all, im working on understanding directfb first, so i have
nothing to show about fbGUI (i was looking at fpg gdi and fpg x11 and
it looked quite alien to me... i think i will need more help).
now i am going to join the fpgui mailgroup.
thank you all.
On 20 March 2010 11:08, Jorge Aldo G. de F. Junior wrote:
>
> now i am going to join the fpgui mailgroup.
The opensoft.homeip.net server is down until Tuesday morning 08:00
(GMT+2). We have builders working at our office over the weekend so
for safety, had to shutdown all power.
Sorry for the i
How can I obtain a class type variable from an instance? I want to
create a second instance of the same descendant class (via the
constructor, which will take some parameters and make the new instance
unique)
Tobject.classtype returns TClass (class of TObject) which I first
assumed would work
David Emerson wrote:
How can I obtain a class type variable from an instance? I want to
create a second instance of the same descendant class (via the
constructor, which will take some parameters and make the new instance
unique)
Tobject.classtype returns TClass (class of TObject) which I fir
> Tobject.classtype returns TClass (class of TObject) which I first
> assumed would work great. However I cannot seem to do a type
> conversion from TClass to t_mammal_class (class of t_mammal)! So I am
> stuck here.
well, I got this working, not sure why I had so much trouble with a
simple typ
Hi David,
If I'm reading your need correctly...
function CopyMyMammal(value: T_Mammal; extraParameters): T_Mammal;
begin
result := T_Mammal_Class(value.ClassType).Create(withExtraParameters);
end;
Only confusion is you say you cannot make the type conversion? But the above
code is correct and
Hi
The essential part is to have virtual constructor like in Florian Klaempfl's
example code:
t_mammal = class
public
constructor create (color : byte); virtual;
end;
and then...
t_pig = class(t_mammal)
public
constructor create (color : byte); override;
end;
t