I have been reading more the Xailer Help and found the AppData class.
Can I inherit this Class?
I would like to extend it so that I can not only add data to it, but also
add methods to read and write the data to a config file.
it says it's only instantiated once, is this a problem.
I'm thinking I can just do this
Class TAppData from XAppData
Property x
Property y
Method SaveConfig()
Method LoadConfig()
End Class
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.
TAppData
-
- Mensajes: 53
- Registrado: Vie May 26, 2006 3:33 am
TAppData
Capsol,
>I have been reading more the Xailer Help and found the AppData class.
>
> Can I inherit this Class?
Yes, of course.
> I would like to extend it so that I can not only add data to it, but also
> add methods to read and write the data to a config file.
>
> it says it's only instantiated once, is this a problem.
There is no problem at all. That's the magic of "classes X and Y duality".
You may redefine the T class inheriting from its X one, and Xailer will
recognize it correctly.
> I'm thinking I can just do this
>
> Class TAppData from XAppData
>
> Property x
> Property y
>
> Method SaveConfig()
> Method LoadConfig()
>
> End Class
It should work fine.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
>I have been reading more the Xailer Help and found the AppData class.
>
> Can I inherit this Class?
Yes, of course.
> I would like to extend it so that I can not only add data to it, but also
> add methods to read and write the data to a config file.
>
> it says it's only instantiated once, is this a problem.
There is no problem at all. That's the magic of "classes X and Y duality".
You may redefine the T class inheriting from its X one, and Xailer will
recognize it correctly.
> I'm thinking I can just do this
>
> Class TAppData from XAppData
>
> Property x
> Property y
>
> Method SaveConfig()
> Method LoadConfig()
>
> End Class
It should work fine.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 53
- Registrado: Vie May 26, 2006 3:33 am
TAppData
Thats a great feature, thanks
I'd like to thank you guys again for the level of documentation you have
provided. It may not always be perfectly clear in english, but the main
thing is "it there"
Cheers
Nick
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=465f20cd@ozsrv2.ozlan.local...]465f20cd@ozsrv2.ozlan.local...[/email]
> Capsol,
>
>>I have been reading more the Xailer Help and found the AppData class.
>>
>> Can I inherit this Class?
>
> Yes, of course.
>
>
>> I would like to extend it so that I can not only add data to it, but also
>> add methods to read and write the data to a config file.
>>
>> it says it's only instantiated once, is this a problem.
>
> There is no problem at all. That's the magic of "classes X and Y duality".
> You may redefine the T class inheriting from its X one, and Xailer will
> recognize it correctly.
>
>
>> I'm thinking I can just do this
>>
>> Class TAppData from XAppData
>>
>> Property x
>> Property y
>>
>> Method SaveConfig()
>> Method LoadConfig()
>>
>> End Class
>
> It should work fine.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
I'd like to thank you guys again for the level of documentation you have
provided. It may not always be perfectly clear in english, but the main
thing is "it there"
Cheers
Nick
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=465f20cd@ozsrv2.ozlan.local...]465f20cd@ozsrv2.ozlan.local...[/email]
> Capsol,
>
>>I have been reading more the Xailer Help and found the AppData class.
>>
>> Can I inherit this Class?
>
> Yes, of course.
>
>
>> I would like to extend it so that I can not only add data to it, but also
>> add methods to read and write the data to a config file.
>>
>> it says it's only instantiated once, is this a problem.
>
> There is no problem at all. That's the magic of "classes X and Y duality".
> You may redefine the T class inheriting from its X one, and Xailer will
> recognize it correctly.
>
>
>> I'm thinking I can just do this
>>
>> Class TAppData from XAppData
>>
>> Property x
>> Property y
>>
>> Method SaveConfig()
>> Method LoadConfig()
>>
>> End Class
>
> It should work fine.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
- ignacio
- Site Admin
- Mensajes: 9440
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TAppData
Capsol,
Thanks. BTW, any advice to make it more clear and less spanglish is highly
welcome.
Regards,
"Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
news:[email=465f5c7f@ozsrv2.ozlan.local...]465f5c7f@ozsrv2.ozlan.local...[/email]
> Thats a great feature, thanks
>
> I'd like to thank you guys again for the level of documentation you have
> provided. It may not always be perfectly clear in english, but the main
> thing is "it there"
>
> Cheers
>
> Nick
>
> "Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
> news:[email=465f20cd@ozsrv2.ozlan.local...]465f20cd@ozsrv2.ozlan.local...[/email]
>> Capsol,
>>
>>>I have been reading more the Xailer Help and found the AppData class.
>>>
>>> Can I inherit this Class?
>>
>> Yes, of course.
>>
>>
>>> I would like to extend it so that I can not only add data to it, but
>>> also add methods to read and write the data to a config file.
>>>
>>> it says it's only instantiated once, is this a problem.
>>
>> There is no problem at all. That's the magic of "classes X and Y
>> duality". You may redefine the T class inheriting from its X one, and
>> Xailer will recognize it correctly.
>>
>>
>>> I'm thinking I can just do this
>>>
>>> Class TAppData from XAppData
>>>
>>> Property x
>>> Property y
>>>
>>> Method SaveConfig()
>>> Method LoadConfig()
>>>
>>> End Class
>>
>> It should work fine.
>>
>> --
>> Regards,
>>
>> Jose F. Gimenez
>> http://www.xailer.com
>> http://www.xailer.info
>>
>
>
Thanks. BTW, any advice to make it more clear and less spanglish is highly
welcome.
Regards,
"Capsol Coder" <nick__NOSPAM__@capsol.com.au> escribió en el mensaje
news:[email=465f5c7f@ozsrv2.ozlan.local...]465f5c7f@ozsrv2.ozlan.local...[/email]
> Thats a great feature, thanks
>
> I'd like to thank you guys again for the level of documentation you have
> provided. It may not always be perfectly clear in english, but the main
> thing is "it there"
>
> Cheers
>
> Nick
>
> "Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
> news:[email=465f20cd@ozsrv2.ozlan.local...]465f20cd@ozsrv2.ozlan.local...[/email]
>> Capsol,
>>
>>>I have been reading more the Xailer Help and found the AppData class.
>>>
>>> Can I inherit this Class?
>>
>> Yes, of course.
>>
>>
>>> I would like to extend it so that I can not only add data to it, but
>>> also add methods to read and write the data to a config file.
>>>
>>> it says it's only instantiated once, is this a problem.
>>
>> There is no problem at all. That's the magic of "classes X and Y
>> duality". You may redefine the T class inheriting from its X one, and
>> Xailer will recognize it correctly.
>>
>>
>>> I'm thinking I can just do this
>>>
>>> Class TAppData from XAppData
>>>
>>> Property x
>>> Property y
>>>
>>> Method SaveConfig()
>>> Method LoadConfig()
>>>
>>> End Class
>>
>> It should work fine.
>>
>> --
>> Regards,
>>
>> Jose F. Gimenez
>> http://www.xailer.com
>> http://www.xailer.info
>>
>
>
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