Search the Community
Showing results for tags 'selected'.
-
Hi, i updated to unigui version 1.50.0.1482. Now i have a problem in a modal search form who contains a TUniDBGrid. The grid has dgRowSelect, dgCheckSelect and dgMultiSelect set to true, so the user can select serveral rows with the keyboard. When hit the enter key i take the selected rows and do some things. I have a OnKeyDown event on the grid to catch enter key. Before updating to the new version all works like expected. Now the behaviour of the grid has changed. Immediatly after hitting enter key the selection is lost. I am not able to get the selected rows and take some action with the enter key. You can try it for yourself in "GridCheckSelect" demo. Add a OnKeyDown event handler to the grid and see whats happening. Selection is lost after hitting the enter key. Is this a bug or a wanted new behaviour of the Grid?
-
UniDbbgrid with Checkbox + manages the selected rows (Mr. Bresler). I will start by saying that it is not the result of my work, in fact I have only assembled a few ideas. I have only made minor changes(any lines of code) to TuniZdbgrid.pas (Mr. Farshad Mohajeri), TMyUniXdbgrid.pas (Mr. Bresler). Thanks to all !! thanks also to PatMap for UniXDbgrid. I hope that Mr. Farshad Mohajeri may have the time to provide as soon as possible a Unigui UniDBGRID component more efficient. Tested only with Delphi XE3 and Unigui 0.95.0.1046. However, I think it is pretty easy to customize for other Delphi version (replace only MyUniXdbgrid.pas,UniZdbgrid.pas) Installation : uninstall UniZComponents17.dproj (Delphi XE3) (TuniZdbgrid,TuniZpopupMenu,Tunizgridview) if installed. uninstall MyXUniDBGrid.dpk (Delphi XE3) (TMyunixdbgrid) if installed. install new UniZComponents17.dproj (Only for Delphi XE3) Add new Path in Delphi>Tools>Delphi Options>Library install new MyXUniDBGrid.dpk (Only for Delphi XE3) Add new Path in Delphi>Tools>Delphi Options>Library Run demo newgridx.dpr CheckboxGrid.zip Good fun !!! Best regards.
- 5 replies
-
- 2
-
- UniDbbgrid
- Checkbox
- (and 4 more)