Jump to content

StringGrid : cell drag and drop


fpiette

Recommended Posts

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

 

 

Link to comment
Share on other sites

  • 2 years later...
  • 2 weeks later...
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?

Link to comment
Share on other sites

  • 1 year later...
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...