|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
overriding the OnKeyPress eventI need to get my tab control to treat the ENTER key like a TAB key... Is
there an easy way to do this? ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- In the Keydown event, you should be able to intercept the return key and use
"SendKeys" to send the tab key message. Show quoteHide quote "Nigel Deans" wrote: > I need to get my tab control to treat the ENTER key like a TAB key... Is > there an easy way to do this? > > > > ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- > http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups > ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- > Another option is to override the ProcessCmdKey function if you are
subclassing your tab control. Show quoteHide quote "Nigel Deans" wrote: > I need to get my tab control to treat the ENTER key like a TAB key... Is > there an easy way to do this? > > > > ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- > http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups > ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- > Thanks Dennis - the ProcessCmndKey worked out just fine.
Show quoteHide quote "Dennis" <Den***@discussions.microsoft.com> wrote in message ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----news:355E8DF8-C109-45CE-944F-F48C7C187881@microsoft.com... > Another option is to override the ProcessCmdKey function if you are > subclassing your tab control. > > "Nigel Deans" wrote: > > > I need to get my tab control to treat the ENTER key like a TAB key... Is > > there an easy way to do this? > > > > > > > > ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- > > http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups > > ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- > > > http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups ---= East/West-Coast Server Farms - Total Privacy via Encryption =--- "Nigel Deans" <nde***@hotmail.com> schrieb: Enter Instead of Tab>I need to get my tab control to treat the ENTER key like a TAB key... Is > there an easy way to do this? <URL:http://blogs.duncanmackenzie.net/duncanma/archive/2004/12/13/936.aspx> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Timer1_Elapsed problem.
Locate MessageBox over Window How can I get the Menuitem 's name ?? ListViewImageList keeps bitmap locked after disposing what if the database connection isn't close Error with Custom Control Friend WithEvents MaskedEdit Control sqlreader Do...while problem Upload file programmatically |
|||||||||||||||||||||||