Article View: borland.public.csharpbuilder.winforms.controls.using
Article #36Re: overriding inputchar in textbox
From: Phil
Date: Tue, 23 Aug 2005 21:45
Date: Tue, 23 Aug 2005 21:45
18 lines
1801 bytes
1801 bytes
From my investigations I assume that I have to descend from the text box to override the IsInputKey (my apologies - it would help if I got the method name correct). Is there any other way to do this as I was hoping to implement this behaviour in the standard grid (and would prefer not to have to customise the grid simply to get its textbox to implement the arror key)? Regards Phil "Phil" <phillip.allenATiwl.com.au> wrote in message news:430a96cf$1@newsgroups.borland.com... >I wish to override how a textbox responds to the downarrow. The help states >that this key gets ignored by the onkeyup and onkeydown events unless I >override the Inputchar of the textbox. How can I do this so that I can trap >the down arrow in the onkeydown event? > > Regads > Phil >
Technical Details
Message-ID:
<430b98c2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<430a96cf$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff3c,fd4cb96ec0f8d3b4 X-Google-Attributes: gid1eff3c,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Phil" <phillip.allenATiwl.com.au> Newsgroups: borland.public.csharpbuilder.winforms.controls.using References: <430a96cf$1@newsgroups.borland.com> Subject: Re: overriding inputchar in textbox Date: Wed, 24 Aug 2005 07:45:00 +1000 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 61.88.108.19 Message-ID: <430b98c2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1124833474 61.88.108.19 (23 Aug 2005 14:44:34 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!gatel-ffm!gatel-ffm!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail