[Feature request] Moveable controls


Hello everyone!

This control is great. :) But it's missing something! Moveable controls.

There is a screenshot from Excel 2007 what I am meaning.

So, in this case, I will create a PictureBox, and add it with Grid.Controls.Add(Control), and it will be moveable!

Same as System.Windows.Forms.DataVisualization.Chart and lots of other controls.

Thank you!

file attachments


unvell wrote May 18, 2014 at 5:14 PM

Hi VitekST,

Nice idea! There is the plan to support movable objects functionality in the future, but mostly it will be an custom ReoGrid's object type, rather than the Windows Control, because:
  1. Windows Control is heavy
  2. Windows Control has different Windows Handle (Drawing Context) to the spreadsheet control, it will bring some trouble during using some features in spreadsheet, like freeze - it splits the spreadsheet into multiple views; and print (windows control may cannot be printed out with spreadsheet together)
But there is still possibility to add a Windows Control onto spreadsheet, by losing some spreadsheet features, it looks like the following form:
// create ReoGrid floating object, as a host for Windows Control
var controlHostObject = new ReoGridControlHostObject();

// set Windows Control
controlHostObject.Control = new System.Windows.Forms.Textbox();

// add onto spreadsheet to show the Control
It might be different to be implemented in the future.


VitekST wrote May 20, 2014 at 4:55 AM

I can't find the ReoGridHostObject anywhere...

Updated libaries, depencies, included all namespaces, nothing is here.

unvell wrote May 20, 2014 at 5:10 AM

Sorry, that was the plan, to be implemented in future version.

VitekST wrote May 20, 2014 at 5:11 AM

Aha! But thanks anyway. :)
I hope it will be implemented!