Plot Location/Size issue
This discussion was imported from CodePlex
imaloop wrote at 2013-11-23 16:29:
Hello,
I seem to have an issue fixing the location and size of the Plot. is this normal or al i missing something?
My code is like this:
I seem to have an issue fixing the location and size of the Plot. is this normal or al i missing something?
My code is like this:
GPlot.Model = new PlotModel();
GPlot.Dock = DockStyle.Fill;
GPlot.Enabled = true;
GPlot.Parent = Top_Tabs.TabPages[2]; // Putting it on a Tab
// At this point the Location And Size of GPlot, are those of the containing parent
GPlot.Location = new System.Drawing.Point(279, 224);
GPlot.Size = new System.Drawing.Size(10, 10);
// Last Two lines had no effect.
this.Matlab.Controls.Add(GPlot);
thank youimaloop wrote at 2013-11-23 16:39:
Ok, i found out i forgot the Docking to Fill.
Customer support service by UserEcho