Groups > dBase > dBase programming > Re: Ctrl A on grids




Ctrl A on grids

Ctrl A on grids
Thu, 27 Mar 2008 04:05:25 -050
When using forms that contain a grid, I have realised that pressing Ctrl + A
adds a blank row to the grid - Even with grid property allowAddRows set to false
and the grid NOT having focus.

Is this correct or is there something else I need to do to prevent this from
happening?

Post Reply
Re: Ctrl A on grids
Thu, 27 Mar 2008 05:11:11 -070
John Noble wrote:
> When using forms that contain a grid, I have realised that pressing Ctrl +
A adds a blank row to the grid - Even with grid property allowAddRows set to
false and the grid NOT having focus.
> 
> Is this correct or is there something else I need to do to prevent this
from happening?

Looks like it's WAD, but that's an interesting point. You can trap 
Ctrl+A with an ON KEY ...

ON KEY CTRL+A *

The * means comment, which in this case "do nothing" ...

Ken

-- 
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
Post Reply
Re: Ctrl A on grids
Thu, 27 Mar 2008 08:45:20 -050
Ken Mayer [dBVIPS] Wrote:

> Looks like it's WAD, but that's an interesting point. You can trap 
> Ctrl+A with an ON KEY ...
> 
> ON KEY CTRL+A *
> 
> The * means comment, which in this case "do nothing" ...
> 

Thanks again Ken,

Hope to see you on Tuesday.

Post Reply
Re: Ctrl A on grids
Thu, 27 Mar 2008 08:49:16 -050
while you're at it, you may want to include:

      on key label CTRL-R *
      on Key label CTRL-A *
      on Key label CTRL-F *

Jan 

Post Reply
Re: Ctrl A on grids
Thu, 27 Mar 2008 12:12:14 -070
John Noble wrote:
> Ken Mayer [dBVIPS] Wrote:
> 
>> Looks like it's WAD, but that's an interesting point. You can trap 
>> Ctrl+A with an ON KEY ...
>>
>> ON KEY CTRL+A *
>>
>> The * means comment, which in this case "do nothing" ...
>>
> 
> Thanks again Ken,
> 
> Hope to see you on Tuesday.

I intend to be there ... leaving on Sunday. I'm a little overwhelmed at 
how fast things are happening ...

Ken

-- 
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase/dBASEBooks.htm
Post Reply
<< Previous 1 2 Next >>
( Page 1 of 2 )
about | contact