How to handle VK_TAB virtual key in EditBox.
-
Hi all.. I am trying to handle TAB key on keyboard while writing in Edit box. User has to eneter data in EditBox and when he press TAB Key then cursor has to focus on next EditBox. So You guys helpme in how to handle tab key while cursor is focued in edit box. Thanking You. Sheshidar Patnam
-
Hi all.. I am trying to handle TAB key on keyboard while writing in Edit box. User has to eneter data in EditBox and when he press TAB Key then cursor has to focus on next EditBox. So You guys helpme in how to handle tab key while cursor is focued in edit box. Thanking You. Sheshidar Patnam
sheshidar wrote:
...when he press TAB Key then cursor has to focus on next EditBox.
This is the default behavior. You have apparently added code to change that.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
Hi all.. I am trying to handle TAB key on keyboard while writing in Edit box. User has to eneter data in EditBox and when he press TAB Key then cursor has to focus on next EditBox. So You guys helpme in how to handle tab key while cursor is focued in edit box. Thanking You. Sheshidar Patnam
sheshidar wrote:
when he press TAB Key then cursor has to focus on next EditBox
As David said this is a default behaviour.. Check all the Edit Controls have the sequence tab position.. Press Ctrl+D, in the dialog during design time to change the tab settings..
Do your Duty and Don't expect the Result
-
Hi all.. I am trying to handle TAB key on keyboard while writing in Edit box. User has to eneter data in EditBox and when he press TAB Key then cursor has to focus on next EditBox. So You guys helpme in how to handle tab key while cursor is focued in edit box. Thanking You. Sheshidar Patnam
Look up the
WM_GETDLGCODE
and theDLGC_WANTTAB
message for details on how to alter the default special handling of the tab key. You may also be interested in theIsDialogMessage
API.Steve