Hi everyone,
How can I make fw to exit a DTPicker control with the enter and/or return key?
Thank you,
Reinaldo
Exit DTPICKER control with K_enter
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
Antonio;
Thank you for your help.
It is a start. Won't quite work for me, for I want to focus the next get. But it is an idea. I tried redefining the button as:
oget[8] is the dtpicker object. But what it does is that it skips the dtpicker control altogether. I'll keep working on it. Any other idea is much welcomed.
thank you,
Reinaldo.
Thank you for your help.
It is a start. Won't quite work for me, for I want to focus the next get. But it is an idea. I tried redefining the button as:
Code: Select all
REDEFINE BUTTON ID 103 OF ::odlg PROMPT "&Next" ACTION iif( oget[8]:lFocused, ::odlg:GoNextCtrl( ::odlg:hWnd ), )
thank you,
Reinaldo.
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
Yes, I realize that. However, there are circumstances where it is much more convenient to do data entry using the numeric keypad and move from field to field using the enter key. You should see the speed of some users doing data entry of item number, units, date and back around. Item after item after item... Forcing them to use the tab key will seriously slow the process.
My problem was with the dpicker class field. I changed it to a standard tget field to pickup the date and it working as needed.
Thank you for your reply,
Reinaldo.
My problem was with the dpicker class field. I changed it to a standard tget field to pickup the date and it working as needed.
Thank you for your reply,
Reinaldo.
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact: