From SelFromTabala.prg (DBFData6 app), it use "Property" and "Data"
statement as "parameters". It seems they receive value from the caller
(parent object). I tried the same idea but failed.
Attached a sample, please inform what went wrong ? Are DATA & PROPERTY
use for parameter passing ?
Can you clarify the purpose of the captioned keywords or where I can get
more information. I'll need to get the concept right.
Thanks.
David
--
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.
Usage of PROPERTY DATA in CLASS definition
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Usage of PROPERTY DATA in CLASS definition
David,
Sample fixed.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=453ef4d8@news.xailer.com...]453ef4d8@news.xailer.com...[/email]
> From SelFromTabala.prg (DBFData6 app), it use "Property" and "Data"
> statement as "parameters". It seems they receive value from the caller
> (parent object). I tried the same idea but failed.
>
> Attached a sample, please inform what went wrong ? Are DATA & PROPERTY
> use for parameter passing ?
>
> Can you clarify the purpose of the captioned keywords or where I can get
> more information. I'll need to get the concept right.
>
> Thanks.
> David
>
>
Attached files TLab.zip (2.5 KB)Â
Sample fixed.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=453ef4d8@news.xailer.com...]453ef4d8@news.xailer.com...[/email]
> From SelFromTabala.prg (DBFData6 app), it use "Property" and "Data"
> statement as "parameters". It seems they receive value from the caller
> (parent object). I tried the same idea but failed.
>
> Attached a sample, please inform what went wrong ? Are DATA & PROPERTY
> use for parameter passing ?
>
> Can you clarify the purpose of the captioned keywords or where I can get
> more information. I'll need to get the concept right.
>
> Thanks.
> David
>
>
Attached files TLab.zip (2.5 KB)Â
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
Usage of PROPERTY DATA in CLASS definition
David,
Sample fixed.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=453ef4d8@news.xailer.com...]453ef4d8@news.xailer.com...[/email]
> From SelFromTabala.prg (DBFData6 app), it use "Property" and "Data"
> statement as "parameters". It seems they receive value from the caller
> (parent object). I tried the same idea but failed.
>
> Attached a sample, please inform what went wrong ? Are DATA & PROPERTY
> use for parameter passing ?
>
> Can you clarify the purpose of the captioned keywords or where I can get
> more information. I'll need to get the concept right.
>
> Thanks.
> David
>
>
Attached files TLab.zip (2.5 KB)Â
Sample fixed.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=453ef4d8@news.xailer.com...]453ef4d8@news.xailer.com...[/email]
> From SelFromTabala.prg (DBFData6 app), it use "Property" and "Data"
> statement as "parameters". It seems they receive value from the caller
> (parent object). I tried the same idea but failed.
>
> Attached a sample, please inform what went wrong ? Are DATA & PROPERTY
> use for parameter passing ?
>
> Can you clarify the purpose of the captioned keywords or where I can get
> more information. I'll need to get the concept right.
>
> Thanks.
> David
>
>
Attached files TLab.zip (2.5 KB)Â
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
Usage of PROPERTY DATA in CLASS definition
Thanks.
Q1. What is the different
Tform1:New() and Tform1:New( Self )
Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
Q3. must hb_qwith() always associate with an object, hence can only be
use inside a 'WITH OBJECT' statement ?
Regard,
David
Q1. What is the different
Tform1:New() and Tform1:New( Self )
Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
Q3. must hb_qwith() always associate with an object, hence can only be
use inside a 'WITH OBJECT' statement ?
Regard,
David
-
- Mensajes: 257
- Registrado: Mié Jul 19, 2006 8:48 am
Usage of PROPERTY DATA in CLASS definition
Thanks.
Q1. What is the different
Tform1:New() and Tform1:New( Self )
Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
Q3. must hb_qwith() always associate with an object, hence can only be
use inside a 'WITH OBJECT' statement ?
Regard,
David
Q1. What is the different
Tform1:New() and Tform1:New( Self )
Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
Q3. must hb_qwith() always associate with an object, hence can only be
use inside a 'WITH OBJECT' statement ?
Regard,
David
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Usage of PROPERTY DATA in CLASS definition
David,
> Q1. What is the different
>
> Tform1:New() and Tform1:New( Self )
The Self parameter, in this case the Form. Check the documentation of
TComponent:New( oParent )
> Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
Sure they can. But the assignment to the edit controls on event OnInitialize
is RUNNED BEFORE the assignment of the Parm? members.
> Q3. must hb_qwith() always associate with an object, hence can only be use
> inside a 'WITH OBJECT' statement ?
Yes. That is a xHarbour issue BTW.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=453f201b@news.xailer.com...]453f201b@news.xailer.com...[/email]
> Thanks.
>
> Q1. What is the different
>
> Tform1:New() and Tform1:New( Self )
>
> Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
>
> Q3. must hb_qwith() always associate with an object, hence can only be use
> inside a 'WITH OBJECT' statement ?
>
>
> Regard,
> David
>
> Q1. What is the different
>
> Tform1:New() and Tform1:New( Self )
The Self parameter, in this case the Form. Check the documentation of
TComponent:New( oParent )
> Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
Sure they can. But the assignment to the edit controls on event OnInitialize
is RUNNED BEFORE the assignment of the Parm? members.
> Q3. must hb_qwith() always associate with an object, hence can only be use
> inside a 'WITH OBJECT' statement ?
Yes. That is a xHarbour issue BTW.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=453f201b@news.xailer.com...]453f201b@news.xailer.com...[/email]
> Thanks.
>
> Q1. What is the different
>
> Tform1:New() and Tform1:New( Self )
>
> Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
>
> Q3. must hb_qwith() always associate with an object, hence can only be use
> inside a 'WITH OBJECT' statement ?
>
>
> Regard,
> 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
Usage of PROPERTY DATA in CLASS definition
David,
> Q1. What is the different
>
> Tform1:New() and Tform1:New( Self )
The Self parameter, in this case the Form. Check the documentation of
TComponent:New( oParent )
> Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
Sure they can. But the assignment to the edit controls on event OnInitialize
is RUNNED BEFORE the assignment of the Parm? members.
> Q3. must hb_qwith() always associate with an object, hence can only be use
> inside a 'WITH OBJECT' statement ?
Yes. That is a xHarbour issue BTW.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=453f201b@news.xailer.com...]453f201b@news.xailer.com...[/email]
> Thanks.
>
> Q1. What is the different
>
> Tform1:New() and Tform1:New( Self )
>
> Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
>
> Q3. must hb_qwith() always associate with an object, hence can only be use
> inside a 'WITH OBJECT' statement ?
>
>
> Regard,
> David
>
> Q1. What is the different
>
> Tform1:New() and Tform1:New( Self )
The Self parameter, in this case the Form. Check the documentation of
TComponent:New( oParent )
> Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
Sure they can. But the assignment to the edit controls on event OnInitialize
is RUNNED BEFORE the assignment of the Parm? members.
> Q3. must hb_qwith() always associate with an object, hence can only be use
> inside a 'WITH OBJECT' statement ?
Yes. That is a xHarbour issue BTW.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:[email=453f201b@news.xailer.com...]453f201b@news.xailer.com...[/email]
> Thanks.
>
> Q1. What is the different
>
> Tform1:New() and Tform1:New( Self )
>
> Q2. Why in my routine Parm1 & Parm2 unable to receive value from caller ?
>
> Q3. must hb_qwith() always associate with an object, hence can only be use
> inside a 'WITH OBJECT' statement ?
>
>
> Regard,
> David
>