Página 1 de 1
ClassData
Publicado: Mar Jul 04, 2006 4:22 pm
por Aguiar Costa
Hello,
I read about this command but did not understand how to use it...Can some
one please show me a simple sample of this command ?
Thank you very much in advance.
Aguiar !!!
ClassData
Publicado: Mié Jul 05, 2006 7:02 pm
por jfgimenez
Aguiar,
> I read about this command but did not understand how to use it...Can some
> one please show me a simple sample of this command ?
A CLASSDATA is a DATA shared among all object instances of the same class
(and any derived one). You can write and read its value, but there is *only
one* value, not one for each object.
I.e., in Xailer, we are using a CLASSDATA to store the 'insert' state for
all edit controls. If the user press the insert key when an edit is focused,
this CLASSDATA value is toggled, and when another edit get focused, it get
the *same* insert state.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
ClassData
Publicado: Mié Jul 05, 2006 7:02 pm
por jfgimenez
Aguiar,
> I read about this command but did not understand how to use it...Can some
> one please show me a simple sample of this command ?
A CLASSDATA is a DATA shared among all object instances of the same class
(and any derived one). You can write and read its value, but there is *only
one* value, not one for each object.
I.e., in Xailer, we are using a CLASSDATA to store the 'insert' state for
all edit controls. If the user press the insert key when an edit is focused,
this CLASSDATA value is toggled, and when another edit get focused, it get
the *same* insert state.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
ClassData
Publicado: Jue Jul 06, 2006 10:57 am
por Aguiar Costa
Jose,
Yes, i thought it was something like that, your explanation were more
clarifying...
Thanks.
Aguiar !!!
"Jose F. Gimenez" <
jfgimenez@wanadoo.es> escreveu na mensagem
news:44abf0a4$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
> Aguiar,
>
>> I read about this command but did not understand how to use it...Can some
>> one please show me a simple sample of this command ?
>
> A CLASSDATA is a DATA shared among all object instances of the same class
> (and any derived one). You can write and read its value, but there is
> *only one* value, not one for each object.
>
> I.e., in Xailer, we are using a CLASSDATA to store the 'insert' state for
> all edit controls. If the user press the insert key when an edit is
> focused, this CLASSDATA value is toggled, and when another edit get
> focused, it get the *same* insert state.
>
> --
> Regards,
>
> Jose F. Gimenez
>
http://www.xailer.com
>
>
ClassData
Publicado: Jue Jul 06, 2006 10:57 am
por Aguiar Costa
Jose,
Yes, i thought it was something like that, your explanation were more
clarifying...
Thanks.
Aguiar !!!
"Jose F. Gimenez" <
jfgimenez@wanadoo.es> escreveu na mensagem
news:44abf0a4$[email=
1@news.xailer.com...]
1@news.xailer.com...[/email]
> Aguiar,
>
>> I read about this command but did not understand how to use it...Can some
>> one please show me a simple sample of this command ?
>
> A CLASSDATA is a DATA shared among all object instances of the same class
> (and any derived one). You can write and read its value, but there is
> *only one* value, not one for each object.
>
> I.e., in Xailer, we are using a CLASSDATA to store the 'insert' state for
> all edit controls. If the user press the insert key when an edit is
> focused, this CLASSDATA value is toggled, and when another edit get
> focused, it get the *same* insert state.
>
> --
> Regards,
>
> Jose F. Gimenez
>
http://www.xailer.com
>
>