1 Attachment(s)
System.Drawing.Size values automatically changing in designer.vb file
Hi,
We have a application which is developed using Vb.Net. We have a form in that application which uses MSFlexgrid and some other control.If we open the form in different PCs,it seems to be values for System.Drawing.Size are automatically changing in designer.vb file,more like they are settling for a default value.Here is same designer file compared after form is opened in another PC
Attachment 99647
And if any changes done to MSFlexgrid properties like colour,Changes supposed to be saved in designer.vb file i think,But its seems to be saving in .resx file and encrypted something like this
http://social.msdn.microsoft.com/Forums/getfile/271295
Its very difficult to compare files to check for changes.Why this is happening?please anyone help
Thank you
Re: System.Drawing.Size values automatically changing in designer.vb file
Is the control docked or anchored in any way ? That could be one possible thing to look at.
[EDIT]
Also, is that flex grid the same one usually used in VB6 ? If so, you should note that it is a COM component and not a native WinForms control so I'd expect all kinds of boogymen.
Re: System.Drawing.Size values automatically changing in designer.vb file
Quote:
Originally Posted by
Niya
Is the control docked or anchored in any way ? That could be one possible thing to look at.
[EDIT]
Also, is that flex grid the same one usually used in VB6 ? If so, you should note that it is a COM component and not a native WinForms control so I'd expect all kinds of boogymen.
Some controls are anchored to top,left,but none docked. We have this problem with only one form.Some other forms which contains Flexgrid control and anchored,But they don't cause any problem.
Re: System.Drawing.Size values automatically changing in designer.vb file
Quote:
But they don't cause any problem.
As Niya suggests, you should perhaps be content with being grateful for those that do work! There simply is no reason to expect this old-timer to be up to keeping up with modern needs.
Re: System.Drawing.Size values automatically changing in designer.vb file
Quote:
Originally Posted by
dunfiddlin
As Niya suggests, you should perhaps be content with being grateful for those that do work! There simply is no reason to expect this old-timer to be up to keeping up with modern needs.
I removed all MSFlexgrid controls from the form and checked.Values changing if MSFlexgrid controls not there also. So i am assuming that this is not flexgrid problem. What it might be?
Re: System.Drawing.Size values automatically changing in designer.vb file
Quote:
Originally Posted by
winman
...checked.Values changing if MSFlexgrid controls not there also...
:confused:
Re: System.Drawing.Size values automatically changing in designer.vb file
I just checked and most of changed items are ToolStripMenuitems. Any idea why their size changing automatically?
Re: System.Drawing.Size values automatically changing in designer.vb file
The ToolStrip is docked by default!
Re: System.Drawing.Size values automatically changing in designer.vb file
Quote:
Originally Posted by
dunfiddlin
The ToolStrip is docked by default!
I checked by setting dock and aunchor properties to None but still resizing taking place. Autosize property is set to true,it may cause any influence?