fpiette Posted December 30, 2017 Share Posted December 30, 2017 Hello, How to drag a StringGrid cell to another StringGrid cell ? This is for a game. I have a first StringGrid with user's pièces and a second StringGrid being the game pad. The user has to drag one of his pieces (A cell on the first StringGrid) somewhere and drop it on the game pad (A cell on the second StringGrid). The application will then decide if the drop is valid or not. Any help appreciated. -- François Piette Embarcadero MVP Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 30, 2017 Share Posted December 30, 2017 Hi, Do you have screenshots..., how it should look like? Best regards, Quote Link to comment Share on other sites More sharing options...
fpiette Posted December 30, 2017 Author Share Posted December 30, 2017 Use the standard uniGUI demo as starting point. In that demo, there is a drag and drop of StringGrid ROWS. i need drag&drop of a single cell. Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 30, 2017 Share Posted December 30, 2017 Which build are you using ? Quote Link to comment Share on other sites More sharing options...
fpiette Posted December 31, 2017 Author Share Posted December 31, 2017 1.0.0.1390RC Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 31, 2017 Share Posted December 31, 2017 Like this?: http://examples.sencha.com/extjs/5.1.0/examples/dd/cell-to-cell-dd.html Quote Link to comment Share on other sites More sharing options...
fpiette Posted January 1, 2018 Author Share Posted January 1, 2018 Nearly: I want to drag a cell from one grid to a different grid (The Sencha example drag from a grid and drop into the same grid). Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 1, 2018 Share Posted January 1, 2018 Hi, Ok, we will try to find a solution Best regards, Quote Link to comment Share on other sites More sharing options...
gerhardhziegler Posted May 3, 2020 Share Posted May 3, 2020 Gentlemen! is there any conclusion on that cell2cell drag & drop, its exactly what I could need now in a DBGrid or String grid. Regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 3, 2020 Share Posted May 3, 2020 1 hour ago, gerhardhziegler said: is there any conclusion on that cell2cell drag & drop, its exactly what I could need now in a DBGrid or String grid. Hello, This post may help you..: Quote Link to comment Share on other sites More sharing options...
gerhardhziegler Posted May 14, 2020 Share Posted May 14, 2020 On 5/3/2020 at 6:26 PM, Sherzod said: Hello, This post may help you..: meanwhile i found this on senchas Website: https://examples.sencha.com/extjs/7.2.0/examples/classic/dd/cell-to-cell-dd.html Its more or less what I want, including to possibility to drag/drop to a list outside the grid; any ideas how I could bring this to my actual unigui project? Quote Link to comment Share on other sites More sharing options...
rhennink Posted October 9, 2021 Share Posted October 9, 2021 HI, did you find a solution to drag & drop cells? Quote Link to comment Share on other sites More sharing options...
rhennink Posted May 26, 2022 Share Posted May 26, 2022 Hi, did you get a solution for this one? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.