Hello,
I hope someone help me here that this great forum, but I'm not so right.
How can I control the NextDBGrid with the keyboard as a VCL DBGrid.
Should speak with the cursor keys to scroll through the grid, when I arrived at the bottom line,
a new record is inserted or I press the Insert key, as indicated by an asterisk in front of that line?
New entry for the ESC to discard data, etc. just as in the normal DBGrid
Sorry for my bad English can only use Google translator.
Thanks for the help and best regards ....
Control via Keyboard as DBEdit
Started by n-e-t-p-r-o-g, Nov 29 2011 08:20 PM
4 replies to this topic
#1
Posted 29 November 2011 - 08:20 PM
#2
Posted 30 November 2011 - 12:00 PM
Hi,
You should use InputLine . Right-click on component and chose Show Input Line. You will be able now to insert new row and as soon you click on body of Grid, new row will be added.
I suggest that you read next tutorial:
http://dn.bergsoft.n...ne-tutorial.htm
Best regards
You should use InputLine . Right-click on component and chose Show Input Line. You will be able now to insert new row and as soon you click on body of Grid, new row will be added.
I suggest that you read next tutorial:
http://dn.bergsoft.n...ne-tutorial.htm
Best regards
boki@bergsoft.net
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 01 December 2011 - 08:11 AM
Hi Boki,
what I really meant is the following ...
1. I'm used to the row indicator displaying the current state of the database. Normally different images for current record, editing record and inserting record. Is this possible with this component?
2. Other grids alow you to arrow down past the last row to automatically append a new record. Any way to acheive this behavior?
Just as in the normal DBGrid the vcl.
Best regards
what I really meant is the following ...
1. I'm used to the row indicator displaying the current state of the database. Normally different images for current record, editing record and inserting record. Is this possible with this component?
2. Other grids alow you to arrow down past the last row to automatically append a new record. Any way to acheive this behavior?
Just as in the normal DBGrid the vcl.
Best regards
#4
Posted 01 December 2011 - 11:06 PM
Hello,
I am planing to add different indicators for editing record. I hope that I will add it for upcoming release.
Maybe I can add a event which will occur if selection is on last row, and user press a Arrow-Down. Then you will be able to call DataSet.Append and new row will appear.
Best regards
I am planing to add different indicators for editing record. I hope that I will add it for upcoming release.
Maybe I can add a event which will occur if selection is on last row, and user press a Arrow-Down. Then you will be able to call DataSet.Append and new row will appear.
Best regards
boki@bergsoft.net
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#5
Posted 01 December 2011 - 11:58 PM
Hello Boki,
that would be perfect if you can integrate this into the next version.
Until then, best regards from Germany
that would be perfect if you can integrate this into the next version.
Until then, best regards from Germany
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











