DataGridView and On Screen Keyboard
-
Hi All, Im developing a POS application as part of a personal project. The project has a Datagridview which has the items being sold (Quantity,Item Name, Price etc). The Datagridview is on the left of the screen and on the bottom right is my virtual keypad which is basically just a series of Buttons, one for each number. The rest of teh screen is made up of various buttons indicating stock items to sell. Im having problems getting my head around how to modify a value in the datagrid using the on screen Keyboard. If I click on the button wont focus be taken away from teh Datgridview cell i want to edit? For example I want the user to click in the Quantity Row on the datgrid and it selects (highlights) what is currently in there (1 For Example) and then if I hit the "2" Button it replaces the 1 with a 2. Any assistance would be greatly appreciated. Thanks, Daniel.
-
Hi All, Im developing a POS application as part of a personal project. The project has a Datagridview which has the items being sold (Quantity,Item Name, Price etc). The Datagridview is on the left of the screen and on the bottom right is my virtual keypad which is basically just a series of Buttons, one for each number. The rest of teh screen is made up of various buttons indicating stock items to sell. Im having problems getting my head around how to modify a value in the datagrid using the on screen Keyboard. If I click on the button wont focus be taken away from teh Datgridview cell i want to edit? For example I want the user to click in the Quantity Row on the datgrid and it selects (highlights) what is currently in there (1 For Example) and then if I hit the "2" Button it replaces the 1 with a 2. Any assistance would be greatly appreciated. Thanks, Daniel.
Hi Daniel, I didnt have my opportunity to work with on screen keyboard. However I wanted to say that in my laptop whenever I have used my onscreen keyboard using mouse, I have always seen that it does not loose focus. So my opinion is that dont fear about the on screen keyboard and it "loosing focus" thing. You can do things as if you are using the actual keyboad. :) My post is not your reply however I wish it helps you.
Thanks, Arindam D Tewary