Greetings, I have an old app with forms created using Define Window. Textboxes are created by @ Get. I know many of you will tell me to upgrade which I'm doing but I still need to support the existing app.
Well, here is my question: What is be best way to mimic Setfocus() for a @ Get control? I'm adding validation outside of the valid() clause.
Is this even possible without redefining the @Get along with the position?
Thanks, Wayne
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
Use the WHEN clause. Add to your procedure file or create a standalone function/prg with the equivalent of your SetFocus() logic.
--
rk
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Wayne Yeung Sent: Tuesday, May 31, 2016 11:33 AM To: profoxtech@leafe.com Subject: Need GetFocus() for FP 2.6
Greetings, I have an old app with forms created using Define Window. Textboxes are created by @ Get. I know many of you will tell me to upgrade which I'm doing but I still need to support the existing app.
Well, here is my question: What is be best way to mimic Setfocus() for a @ Get control? I'm adding validation outside of the valid() clause.
Is this even possible without redefining the @Get along with the position?
Thanks, Wayne
WHEN is used for GotFocus, is it not?
Fred
On Mon, Jun 13, 2016 at 10:24 AM, Richard Kaye rkaye@invaluable.com wrote:
Use the WHEN clause. Add to your procedure file or create a standalone function/prg with the equivalent of your SetFocus() logic.
--
rk
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Wayne Yeung Sent: Tuesday, May 31, 2016 11:33 AM To: profoxtech@leafe.com Subject: Need GetFocus() for FP 2.6
Greetings, I have an old app with forms created using Define Window. Textboxes are created by @ Get. I know many of you will tell me to upgrade which I'm doing but I still need to support the existing app.
Well, here is my question: What is be best way to mimic Setfocus() for a @ Get control? I'm adding validation outside of the valid() clause.
Is this even possible without redefining the @Get along with the position?
Thanks, Wayne
[excessive quoting removed by server]