🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.winforms.controls.using
Article #29

Re: using datagrid

#29
From: Phil
Date: Thu, 11 Aug 2005 01:02
30 lines
2078 bytes
Marc

Does it make a difference that it is ECO. As in if the app isnt ECO, would 
the onkeyup etc be the way to go to run code to add/delete records? The 
reason I ask is that all the code examples I have found via Google indicate 
other ways to achieve this (such as buttons etc)

Regards
Phil
"Marc Rohloff [TeamB]" <"on request"> wrote in message 
news:rle95dsgx7qf.dlg@marcrohloff.40tude.net...
> On Thu, 11 Aug 2005 07:48:17 +1000, Phil wrote:
>
>> I am new to d2005 so not sure how to go about achieving this. But I am
>> trying to add/delete records in an ECO app with datagrid bound. what I 
>> would
>> like to do is allow the user to automatically add a record if they have 
>> the
>> last row of the grid selected and press the down arrow (or automatically 
>> add
>> a new object if they start typing in the last row). However I cant seem 
>> to
>> trap the onkeyup or onkeydown event of the grid even though I have
>> implemented its events. Is there something that I am missing to do this?
>
> I suggest you ask in the eco group.
>
> -- 
> Marc Rohloff [TeamB]
> marc rohloff -at- myrealbox -dot- com 
Technical Details
Message-ID: <42faa392$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42fa7621@newsgroups.borland.com> <rle95dsgx7qf.dlg@marcrohloff.40tude.net>

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>
Subject: Re: using datagrid
Date: Thu, 11 Aug 2005 11:02:06 +1000
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 61.88.108.19
Message-ID: <42faa392$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123722130 61.88.108.19 (10 Aug 2005 18:02:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail