Página 1 de 1

OnAppend and lAllowAppend

Publicado: Vie Jun 01, 2007 11:11 am
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

OnAppend and lAllowAppend

Publicado: Vie Jun 01, 2007 12:09 pm
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
>

OnAppend and lAllowAppend

Publicado: Vie Jun 01, 2007 12:09 pm
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
>

OnAppend and lAllowAppend

Publicado: Vie Jun 01, 2007 12:48 pm
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

OnAppend and lAllowAppend

Publicado: Vie Jun 01, 2007 12:48 pm
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

OnAppend and lAllowAppend

Publicado: Vie Jun 01, 2007 1:14 pm
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
>

OnAppend and lAllowAppend

Publicado: Vie Jun 01, 2007 1:14 pm
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
>