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.
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
-
- Mensajes: 216
- Registrado: Dom Sep 23, 2007 11:08 pm
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
The TApplication:lUseReturn works fine, except that it jumps to- and sets
focus to pushbuttons. On the next K_ENTER the button is pushed, a behaviour
that I don't want (do anybody, at least when the form/dataset is in
EDIT-mode?)
So my question is: Suggestions on how to let K_ENTER only jump to
data-controls, not buttons etc? (No matter if the form/oDataSet are in VIEW
or EDIT-mode)
Thanks for any reply.
Paal
focus to pushbuttons. On the next K_ENTER the button is pushed, a behaviour
that I don't want (do anybody, at least when the form/dataset is in
EDIT-mode?)
So my question is: Suggestions on how to let K_ENTER only jump to
data-controls, not buttons etc? (No matter if the form/oDataSet are in VIEW
or EDIT-mode)
Thanks for any reply.
Paal
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
Paal,
I am afraid that is not possible. I never liked the lUseReturn property. Now
you can see why.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Mahanimann" <paaldalen@gmail.com> escribió en el mensaje
news:[email=470ac6e8@ozsrv2.ozlan.local...]470ac6e8@ozsrv2.ozlan.local...[/email]
> The TApplication:lUseReturn works fine, except that it jumps to- and sets
> focus to pushbuttons. On the next K_ENTER the button is pushed, a
> behaviour that I don't want (do anybody, at least when the form/dataset is
> in EDIT-mode?)
>
> So my question is: Suggestions on how to let K_ENTER only jump to
> data-controls, not buttons etc? (No matter if the form/oDataSet are in
> VIEW or EDIT-mode)
>
> Thanks for any reply.
> Paal
>
I am afraid that is not possible. I never liked the lUseReturn property. Now
you can see why.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Mahanimann" <paaldalen@gmail.com> escribió en el mensaje
news:[email=470ac6e8@ozsrv2.ozlan.local...]470ac6e8@ozsrv2.ozlan.local...[/email]
> The TApplication:lUseReturn works fine, except that it jumps to- and sets
> focus to pushbuttons. On the next K_ENTER the button is pushed, a
> behaviour that I don't want (do anybody, at least when the form/dataset is
> in EDIT-mode?)
>
> So my question is: Suggestions on how to let K_ENTER only jump to
> data-controls, not buttons etc? (No matter if the form/oDataSet are in
> VIEW or EDIT-mode)
>
> Thanks for any reply.
> Paal
>
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
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
Paal,
I am afraid that is not possible. I never liked the lUseReturn property. Now
you can see why.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Mahanimann" <paaldalen@gmail.com> escribió en el mensaje
news:[email=470ac6e8@ozsrv2.ozlan.local...]470ac6e8@ozsrv2.ozlan.local...[/email]
> The TApplication:lUseReturn works fine, except that it jumps to- and sets
> focus to pushbuttons. On the next K_ENTER the button is pushed, a
> behaviour that I don't want (do anybody, at least when the form/dataset is
> in EDIT-mode?)
>
> So my question is: Suggestions on how to let K_ENTER only jump to
> data-controls, not buttons etc? (No matter if the form/oDataSet are in
> VIEW or EDIT-mode)
>
> Thanks for any reply.
> Paal
>
I am afraid that is not possible. I never liked the lUseReturn property. Now
you can see why.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Mahanimann" <paaldalen@gmail.com> escribió en el mensaje
news:[email=470ac6e8@ozsrv2.ozlan.local...]470ac6e8@ozsrv2.ozlan.local...[/email]
> The TApplication:lUseReturn works fine, except that it jumps to- and sets
> focus to pushbuttons. On the next K_ENTER the button is pushed, a
> behaviour that I don't want (do anybody, at least when the form/dataset is
> in EDIT-mode?)
>
> So my question is: Suggestions on how to let K_ENTER only jump to
> data-controls, not buttons etc? (No matter if the form/oDataSet are in
> VIEW or EDIT-mode)
>
> Thanks for any reply.
> Paal
>
-
- Mensajes: 216
- Registrado: Dom Sep 23, 2007 11:08 pm
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
> I am afraid that is not possible. I never liked the lUseReturn property.
> Now you can see why.
No, not really
But I leave it for now, K_TAB *is* the Windows way so
I'll try to get used to it
Thanks for the reply.
Paal
> Now you can see why.
No, not really

I'll try to get used to it

Thanks for the reply.
Paal
-
- Mensajes: 216
- Registrado: Dom Sep 23, 2007 11:08 pm
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
> I am afraid that is not possible. I never liked the lUseReturn property.
> Now you can see why.
No, not really
But I leave it for now, K_TAB *is* the Windows way so
I'll try to get used to it
Thanks for the reply.
Paal
> Now you can see why.
No, not really

I'll try to get used to it

Thanks for the reply.
Paal
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
Mahanimann,
> The TApplication:lUseReturn works fine, except that it jumps to- and sets
> focus to pushbuttons. On the next K_ENTER the button is pushed, a behaviour
> that I don't want (do anybody, at least when the form/dataset is in
> EDIT-mode?)
I don't like the lUseReturn feature but you can try to play with
TButton:lTabStop and TButton:nModalResult (setting it to mrNONE).
Regards,
José Lalín
> The TApplication:lUseReturn works fine, except that it jumps to- and sets
> focus to pushbuttons. On the next K_ENTER the button is pushed, a behaviour
> that I don't want (do anybody, at least when the form/dataset is in
> EDIT-mode?)
I don't like the lUseReturn feature but you can try to play with
TButton:lTabStop and TButton:nModalResult (setting it to mrNONE).
Regards,
José Lalín
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
Mahanimann,
> The TApplication:lUseReturn works fine, except that it jumps to- and sets
> focus to pushbuttons. On the next K_ENTER the button is pushed, a behaviour
> that I don't want (do anybody, at least when the form/dataset is in
> EDIT-mode?)
I don't like the lUseReturn feature but you can try to play with
TButton:lTabStop and TButton:nModalResult (setting it to mrNONE).
Regards,
José Lalín
> The TApplication:lUseReturn works fine, except that it jumps to- and sets
> focus to pushbuttons. On the next K_ENTER the button is pushed, a behaviour
> that I don't want (do anybody, at least when the form/dataset is in
> EDIT-mode?)
I don't like the lUseReturn feature but you can try to play with
TButton:lTabStop and TButton:nModalResult (setting it to mrNONE).
Regards,
José Lalín
-
- Mensajes: 216
- Registrado: Dom Sep 23, 2007 11:08 pm
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
> I don't like the lUseReturn feature but you can try to play with
> TButton:lTabStop and TButton:nModalResult (setting it to mrNONE).
Yes I have done that and it makes K_ENTER "miss" the buttons. But then
again the K_TAB also do that so I have startet to dislike lUseReturn myself.
Thanks,
Paal
> TButton:lTabStop and TButton:nModalResult (setting it to mrNONE).
Yes I have done that and it makes K_ENTER "miss" the buttons. But then
again the K_TAB also do that so I have startet to dislike lUseReturn myself.
Thanks,
Paal
-
- Mensajes: 216
- Registrado: Dom Sep 23, 2007 11:08 pm
How to avoid pushbuttons when TApplication:lUseReturn == .T.?
> I don't like the lUseReturn feature but you can try to play with
> TButton:lTabStop and TButton:nModalResult (setting it to mrNONE).
Yes I have done that and it makes K_ENTER "miss" the buttons. But then
again the K_TAB also do that so I have startet to dislike lUseReturn myself.
Thanks,
Paal
> TButton:lTabStop and TButton:nModalResult (setting it to mrNONE).
Yes I have done that and it makes K_ENTER "miss" the buttons. But then
again the K_TAB also do that so I have startet to dislike lUseReturn myself.
Thanks,
Paal