Author: Remy Lebeau (TeamB)Remy Lebeau (TeamB) Date: May 20, 2008 16:07
cableone.net> wrote in message
news:sji6341q8cv2u321b49abdcoelego8prgt@4ax.com...
> Using the following it sends a Tab-character [no real surprise
> there :-)] and indents the text rather than tabbing to the next field.
>
> SendMessage(hFocusWin,WM_CHAR,9,0);
If a Memo control returns DLGC_WANTTAB in response to the WM_GETDLGCODE
message (in VCL terms, setting the TMemo.WantTabs property to true), then
the Memo accepts tab characters as typed input, and thus you can't switch to
another field by tabbing when the Memo has focus.
> What should I be sending here to force the waiting app to
> move focus to the next input field?
Well, first off, is the waiting app a VCL app or not? Tab ordering is
controlled by the application framework, not the OS. So it makes a big
difference what kind of framework is being used by the application.
Gambit
|