In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Question about Classes
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Question about Classes
Il Wed, 4 Oct 2006 13:11:20 +0400, Oleg ha scritto:
Oleg,
> Hello!
>
> How can I check in code if some class inherited from defined class?
> (For example, how to check if some Xailer object is TForm instance)
>
> o:=TForm1():New(Application:oMainForm)
> ...
> if IsForm(o) // ???
if ( __objDerivedFrom( o, "TFORM" ) )
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Oleg,
> Hello!
>
> How can I check in code if some class inherited from defined class?
> (For example, how to check if some Xailer object is TForm instance)
>
> o:=TForm1():New(Application:oMainForm)
> ...
> if IsForm(o) // ???
if ( __objDerivedFrom( o, "TFORM" ) )
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
-
- Mensajes: 281
- Registrado: Vie Ago 04, 2006 4:58 pm
Question about Classes
Il Wed, 4 Oct 2006 13:11:20 +0400, Oleg ha scritto:
Oleg,
> Hello!
>
> How can I check in code if some class inherited from defined class?
> (For example, how to check if some Xailer object is TForm instance)
>
> o:=TForm1():New(Application:oMainForm)
> ...
> if IsForm(o) // ???
if ( __objDerivedFrom( o, "TFORM" ) )
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Oleg,
> Hello!
>
> How can I check in code if some class inherited from defined class?
> (For example, how to check if some Xailer object is TForm instance)
>
> o:=TForm1():New(Application:oMainForm)
> ...
> if IsForm(o) // ???
if ( __objDerivedFrom( o, "TFORM" ) )
--
Best regards,
Giuseppe Bogetti
B.G. Soft
Cuneo - Italy
Question about Classes
Oleg, Giuseppe,
>> How can I check in code if some class inherited from defined class?
>> (For example, how to check if some Xailer object is TForm instance)
>>
>> o:=TForm1():New(Application:oMainForm)
>> ...
>> if IsForm(o) // ???
> if ( __objDerivedFrom( o, "TFORM" ) )
>> How can I check in code if some class inherited from defined class?
>> (For example, how to check if some Xailer object is TForm instance)
>>
>> o:=TForm1():New(Application:oMainForm)
>> ...
>> if IsForm(o) // ???
> if ( __objDerivedFrom( o, "TFORM" ) )
Question about Classes
Oleg, Giuseppe,
>> How can I check in code if some class inherited from defined class?
>> (For example, how to check if some Xailer object is TForm instance)
>>
>> o:=TForm1():New(Application:oMainForm)
>> ...
>> if IsForm(o) // ???
> if ( __objDerivedFrom( o, "TFORM" ) )
>> How can I check in code if some class inherited from defined class?
>> (For example, how to check if some Xailer object is TForm instance)
>>
>> o:=TForm1():New(Application:oMainForm)
>> ...
>> if IsForm(o) // ???
> if ( __objDerivedFrom( o, "TFORM" ) )
Question about Classes
Oleg, Giuseppe,
>> How can I check in code if some class inherited from defined class?
>> (For example, how to check if some Xailer object is TForm instance)
>>
>> o:=TForm1():New(Application:oMainForm)
>> ...
>> if IsForm(o) // ???
> if ( __objDerivedFrom( o, "TFORM" ) )
A little more easy:
o:IsKindOf( "TForm" )
--
Regards,
Jose F. Gimenez
http://www.xailer.com
>> How can I check in code if some class inherited from defined class?
>> (For example, how to check if some Xailer object is TForm instance)
>>
>> o:=TForm1():New(Application:oMainForm)
>> ...
>> if IsForm(o) // ???
> if ( __objDerivedFrom( o, "TFORM" ) )
A little more easy:
o:IsKindOf( "TForm" )
--
Regards,
Jose F. Gimenez
http://www.xailer.com
Question about Classes
Oleg, Giuseppe,
>> How can I check in code if some class inherited from defined class?
>> (For example, how to check if some Xailer object is TForm instance)
>>
>> o:=TForm1():New(Application:oMainForm)
>> ...
>> if IsForm(o) // ???
> if ( __objDerivedFrom( o, "TFORM" ) )
A little more easy:
o:IsKindOf( "TForm" )
--
Regards,
Jose F. Gimenez
http://www.xailer.com
>> How can I check in code if some class inherited from defined class?
>> (For example, how to check if some Xailer object is TForm instance)
>>
>> o:=TForm1():New(Application:oMainForm)
>> ...
>> if IsForm(o) // ???
> if ( __objDerivedFrom( o, "TFORM" ) )
A little more easy:
o:IsKindOf( "TForm" )
--
Regards,
Jose F. Gimenez
http://www.xailer.com
Question about Classes
Giuseppe,
thank you.
Regards,
Oleg
thank you.
Regards,
Oleg
Question about Classes
Giuseppe,
thank you.
Regards,
Oleg
thank you.
Regards,
Oleg
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
Question about Classes
Jose F. Gimenez wrote:
> Oleg, Giuseppe,
>
>>> How can I check in code if some class inherited from defined class?
>>> (For example, how to check if some Xailer object is TForm instance)
>>>
>>> o:=TForm1():New(Application:oMainForm)
>>> ...
>>> if IsForm(o) // ???
>> if ( __objDerivedFrom( o, "TFORM" ) )
>
> A little more easy:
>
> o:IsKindOf( "TForm" )
>
>
Is IsKindOf() a real or just a psuedo function, can't find from
documentation ?
> Oleg, Giuseppe,
>
>>> How can I check in code if some class inherited from defined class?
>>> (For example, how to check if some Xailer object is TForm instance)
>>>
>>> o:=TForm1():New(Application:oMainForm)
>>> ...
>>> if IsForm(o) // ???
>> if ( __objDerivedFrom( o, "TFORM" ) )
>
> A little more easy:
>
> o:IsKindOf( "TForm" )
>
>
Is IsKindOf() a real or just a psuedo function, can't find from
documentation ?
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
Question about Classes
Jose F. Gimenez wrote:
> Oleg, Giuseppe,
>
>>> How can I check in code if some class inherited from defined class?
>>> (For example, how to check if some Xailer object is TForm instance)
>>>
>>> o:=TForm1():New(Application:oMainForm)
>>> ...
>>> if IsForm(o) // ???
>> if ( __objDerivedFrom( o, "TFORM" ) )
>
> A little more easy:
>
> o:IsKindOf( "TForm" )
>
>
Is IsKindOf() a real or just a psuedo function, can't find from
documentation ?
> Oleg, Giuseppe,
>
>>> How can I check in code if some class inherited from defined class?
>>> (For example, how to check if some Xailer object is TForm instance)
>>>
>>> o:=TForm1():New(Application:oMainForm)
>>> ...
>>> if IsForm(o) // ???
>> if ( __objDerivedFrom( o, "TFORM" ) )
>
> A little more easy:
>
> o:IsKindOf( "TForm" )
>
>
Is IsKindOf() a real or just a psuedo function, can't find from
documentation ?
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
Question about Classes
david fung wrote:
> Jose F. Gimenez wrote:
>> Oleg, Giuseppe,
>>
>>>> How can I check in code if some class inherited from defined class?
>>>> (For example, how to check if some Xailer object is TForm instance)
>>>>
>>>> o:=TForm1():New(Application:oMainForm)
>>>> ...
>>>> if IsForm(o) // ???
>>> if ( __objDerivedFrom( o, "TFORM" ) )
>>
>> A little more easy:
>>
>> o:IsKindOf( "TForm" )
>>
>>
>
> Is IsKindOf() a real or just a psuedo function, can't find from
> documentation ?
It is real & it works. However, where is this property be found in the
documentation, where is it group under ?
Thanks
David
> Jose F. Gimenez wrote:
>> Oleg, Giuseppe,
>>
>>>> How can I check in code if some class inherited from defined class?
>>>> (For example, how to check if some Xailer object is TForm instance)
>>>>
>>>> o:=TForm1():New(Application:oMainForm)
>>>> ...
>>>> if IsForm(o) // ???
>>> if ( __objDerivedFrom( o, "TFORM" ) )
>>
>> A little more easy:
>>
>> o:IsKindOf( "TForm" )
>>
>>
>
> Is IsKindOf() a real or just a psuedo function, can't find from
> documentation ?
It is real & it works. However, where is this property be found in the
documentation, where is it group under ?
Thanks
David
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
Question about Classes
david fung wrote:
> Jose F. Gimenez wrote:
>> Oleg, Giuseppe,
>>
>>>> How can I check in code if some class inherited from defined class?
>>>> (For example, how to check if some Xailer object is TForm instance)
>>>>
>>>> o:=TForm1():New(Application:oMainForm)
>>>> ...
>>>> if IsForm(o) // ???
>>> if ( __objDerivedFrom( o, "TFORM" ) )
>>
>> A little more easy:
>>
>> o:IsKindOf( "TForm" )
>>
>>
>
> Is IsKindOf() a real or just a psuedo function, can't find from
> documentation ?
It is real & it works. However, where is this property be found in the
documentation, where is it group under ?
Thanks
David
> Jose F. Gimenez wrote:
>> Oleg, Giuseppe,
>>
>>>> How can I check in code if some class inherited from defined class?
>>>> (For example, how to check if some Xailer object is TForm instance)
>>>>
>>>> o:=TForm1():New(Application:oMainForm)
>>>> ...
>>>> if IsForm(o) // ???
>>> if ( __objDerivedFrom( o, "TFORM" ) )
>>
>> A little more easy:
>>
>> o:IsKindOf( "TForm" )
>>
>>
>
> Is IsKindOf() a real or just a psuedo function, can't find from
> documentation ?
It is real & it works. However, where is this property be found in the
documentation, where is it group under ?
Thanks
David
- ignacio
- Site Admin
- Mensajes: 9441
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Question about Classes
David,
In xHarbour documentation I guess.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45238454$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> david fung wrote:
>> Jose F. Gimenez wrote:
>>> Oleg, Giuseppe,
>>>
>>>>> How can I check in code if some class inherited from defined class?
>>>>> (For example, how to check if some Xailer object is TForm instance)
>>>>>
>>>>> o:=TForm1():New(Application:oMainForm)
>>>>> ...
>>>>> if IsForm(o) // ???
>>>> if ( __objDerivedFrom( o, "TFORM" ) )
>>>
>>> A little more easy:
>>>
>>> o:IsKindOf( "TForm" )
>>>
>>>
>>
>> Is IsKindOf() a real or just a psuedo function, can't find from
>> documentation ?
>
> It is real & it works. However, where is this property be found in the
> documentation, where is it group under ?
>
> Thanks
> David
>
In xHarbour documentation I guess.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45238454$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> david fung wrote:
>> Jose F. Gimenez wrote:
>>> Oleg, Giuseppe,
>>>
>>>>> How can I check in code if some class inherited from defined class?
>>>>> (For example, how to check if some Xailer object is TForm instance)
>>>>>
>>>>> o:=TForm1():New(Application:oMainForm)
>>>>> ...
>>>>> if IsForm(o) // ???
>>>> if ( __objDerivedFrom( o, "TFORM" ) )
>>>
>>> A little more easy:
>>>
>>> o:IsKindOf( "TForm" )
>>>
>>>
>>
>> Is IsKindOf() a real or just a psuedo function, can't find from
>> documentation ?
>
> It is real & it works. However, where is this property be found in the
> documentation, where is it group under ?
>
> Thanks
> David
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Question about Classes
David,
In xHarbour documentation I guess.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45238454$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> david fung wrote:
>> Jose F. Gimenez wrote:
>>> Oleg, Giuseppe,
>>>
>>>>> How can I check in code if some class inherited from defined class?
>>>>> (For example, how to check if some Xailer object is TForm instance)
>>>>>
>>>>> o:=TForm1():New(Application:oMainForm)
>>>>> ...
>>>>> if IsForm(o) // ???
>>>> if ( __objDerivedFrom( o, "TFORM" ) )
>>>
>>> A little more easy:
>>>
>>> o:IsKindOf( "TForm" )
>>>
>>>
>>
>> Is IsKindOf() a real or just a psuedo function, can't find from
>> documentation ?
>
> It is real & it works. However, where is this property be found in the
> documentation, where is it group under ?
>
> Thanks
> David
>
In xHarbour documentation I guess.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45238454$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> david fung wrote:
>> Jose F. Gimenez wrote:
>>> Oleg, Giuseppe,
>>>
>>>>> How can I check in code if some class inherited from defined class?
>>>>> (For example, how to check if some Xailer object is TForm instance)
>>>>>
>>>>> o:=TForm1():New(Application:oMainForm)
>>>>> ...
>>>>> if IsForm(o) // ???
>>>> if ( __objDerivedFrom( o, "TFORM" ) )
>>>
>>> A little more easy:
>>>
>>> o:IsKindOf( "TForm" )
>>>
>>>
>>
>> Is IsKindOf() a real or just a psuedo function, can't find from
>> documentation ?
>
> It is real & it works. However, where is this property be found in the
> documentation, where is it group under ?
>
> Thanks
> David
>