Thread View: borland.public.csharpbuilder.winforms.controls.using
2 messages
2 total messages
Started by Phil
Tue, 23 Aug 2005 03:24
overriding inputchar in textbox
Author: Phil
Date: Tue, 23 Aug 2005 03:24
Date: Tue, 23 Aug 2005 03:24
7 lines
1233 bytes
1233 bytes
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
Re: overriding inputchar in textbox
Author: 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 >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads