Article View: borland.public.csharpbuilder.winforms.controls.using
Article #40Re: using datagrid
From: Phil
Date: Thu, 01 Sep 2005 05:48
Date: Thu, 01 Sep 2005 05:48
28 lines
2229 bytes
2229 bytes
I worked out how to do this. Basically for a textboxcolumn, I trap the onkeydown of the datagridcolumn.textbox and go from there. regards phil "Phil" <phillip.allenATiwl.com.au> wrote in message news:43015743@newsgroups.borland.com... >I am pretty new to this so can you please tell me how to do this? > > Regards > Phil > "Marc Rohloff [TeamB]" <"on request"> wrote in message > news:1jwpt0lwu77e4.dlg@marcrohloff.40tude.net... >> On Thu, 11 Aug 2005 14:03:30 +1000, Phil wrote: >> >>> that sounds like what I am trying to do. My problem is that I cant seem >>> to >>> trap the onkeyup or onkeydown event. Is there any special trick to this? >> >> The only way to get this sort of access to a DataGrid is to create a >> subclass of a DataGridColumnStyle (or usually base it off one of the >> existing subclasses) and link that up to your grid. >> >> -- >> Marc Rohloff [TeamB] >> marc rohloff -at- myrealbox -dot- com > >
Technical Details
Message-ID:
<43169602$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news2.volia.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42fa7621@newsgroups.borland.com> <rle95dsgx7qf.dlg@marcrohloff.40tude.net> <42faa392$1@newsgroups.borland.com> <be6tgo49079p$.dlg@marcrohloff.40tude.net> <42face11$1@newsgroups.borland.com> <1jwpt0lwu77e4.dlg@marcrohloff.40tude.net> <43015743@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff3c,786e40cd3ef323dd 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: <42fa7621@newsgroups.borland.com> <rle95dsgx7qf.dlg@marcrohloff.40tude.net> <42faa392$1@newsgroups.borland.com> <be6tgo49079p$.dlg@marcrohloff.40tude.net> <42face11$1@newsgroups.borland.com> <1jwpt0lwu77e4.dlg@marcrohloff.40tude.net> <43015743@newsgroups.borland.com> Subject: Re: using datagrid Date: Thu, 1 Sep 2005 15:48:35 +1000 Lines: 30 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: <43169602$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1125553666 61.88.108.19 (31 Aug 2005 22:47:46 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news2.volia.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail