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.

OnAppend and lAllowAppend

Xailer professional forum in English
Responder
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

OnAppend and lAllowAppend

Mensaje por Oleg »

Dear developers!
If I assign OnAppend event in DBFBrowse and press Down key on last record,
DBFBrowse enters in append mode (lAllowAppend = .f.)
Is it correct behaviour? I was thinking that Down key works as append only
if lAllowAppend = .t.
Regards, Oleg
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

OnAppend and lAllowAppend

Mensaje por ignacio »

Oleg,
The sample samplesDatacontrolsDbfData3 which uses a TDBFBrowse seems to
work fine. Please check.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=465fe2b9@ozsrv2.ozlan.local...]465fe2b9@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> If I assign OnAppend event in DBFBrowse and press Down key on last record,
> DBFBrowse enters in append mode (lAllowAppend = .f.)
> Is it correct behaviour? I was thinking that Down key works as append only
> if lAllowAppend = .t.
>
> Regards, Oleg
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

OnAppend and lAllowAppend

Mensaje por NoName »

Oleg,
The sample samplesDatacontrolsDbfData3 which uses a TDBFBrowse seems to
work fine. Please check.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=465fe2b9@ozsrv2.ozlan.local...]465fe2b9@ozsrv2.ozlan.local...[/email]
> Dear developers!
>
> If I assign OnAppend event in DBFBrowse and press Down key on last record,
> DBFBrowse enters in append mode (lAllowAppend = .f.)
> Is it correct behaviour? I was thinking that Down key works as append only
> if lAllowAppend = .t.
>
> Regards, Oleg
>
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

OnAppend and lAllowAppend

Mensaje por Oleg »

Ignacio!
> The sample samplesDatacontrolsDbfData3 which uses a TDBFBrowse seems
> to work fine. Please check.
oDBFBrowse1 from this sample does not have assigned OnAppend event. If you
create it, you will see that after this it is possible to enter into append
mode with Down key. Is it correct if lAllowAppend =.f. ?
Regards, Oleg
Oleg
Mensajes: 474
Registrado: Mié Jun 07, 2006 3:45 pm

OnAppend and lAllowAppend

Mensaje por Oleg »

Ignacio!
> The sample samplesDatacontrolsDbfData3 which uses a TDBFBrowse seems
> to work fine. Please check.
oDBFBrowse1 from this sample does not have assigned OnAppend event. If you
create it, you will see that after this it is possible to enter into append
mode with Down key. Is it correct if lAllowAppend =.f. ?
Regards, Oleg
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

OnAppend and lAllowAppend

Mensaje por ignacio »

Oleg,
That is completely correct. lAllowAppend only stops the automatic process of
going to append mode, but the event OnAppend is always triggered.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=465ff97b@ozsrv2.ozlan.local...]465ff97b@ozsrv2.ozlan.local...[/email]
> Ignacio!
>
>> The sample samplesDatacontrolsDbfData3 which uses a TDBFBrowse seems
>> to work fine. Please check.
>
> oDBFBrowse1 from this sample does not have assigned OnAppend event. If you
> create it, you will see that after this it is possible to enter into
> append mode with Down key. Is it correct if lAllowAppend =.f. ?
>
> Regards, Oleg
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

OnAppend and lAllowAppend

Mensaje por NoName »

Oleg,
That is completely correct. lAllowAppend only stops the automatic process of
going to append mode, but the event OnAppend is always triggered.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=465ff97b@ozsrv2.ozlan.local...]465ff97b@ozsrv2.ozlan.local...[/email]
> Ignacio!
>
>> The sample samplesDatacontrolsDbfData3 which uses a TDBFBrowse seems
>> to work fine. Please check.
>
> oDBFBrowse1 from this sample does not have assigned OnAppend event. If you
> create it, you will see that after this it is possible to enter into
> append mode with Down key. Is it correct if lAllowAppend =.f. ?
>
> Regards, Oleg
>
Responder