|
-
May 1st, 2013, 01:29 AM
#1
Thread Starter
Addicted Member
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

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

Its very difficult to compare files to check for changes.Why this is happening?please anyone help
Thank you
-
May 1st, 2013, 05:25 AM
#2
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.
-
May 2nd, 2013, 07:56 AM
#3
Thread Starter
Addicted Member
Re: System.Drawing.Size values automatically changing in designer.vb file
 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.
-
May 2nd, 2013, 12:15 PM
#4
Re: System.Drawing.Size values automatically changing in designer.vb file
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.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
May 6th, 2013, 07:26 AM
#5
Thread Starter
Addicted Member
Re: System.Drawing.Size values automatically changing in designer.vb file
 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?
-
May 6th, 2013, 07:36 AM
#6
Re: System.Drawing.Size values automatically changing in designer.vb file
 Originally Posted by winman
...checked.Values changing if MSFlexgrid controls not there also...
-
May 7th, 2013, 02:34 AM
#7
Thread Starter
Addicted Member
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?
-
May 7th, 2013, 12:33 PM
#8
Re: System.Drawing.Size values automatically changing in designer.vb file
The ToolStrip is docked by default!
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
May 8th, 2013, 02:00 AM
#9
Thread Starter
Addicted Member
Re: System.Drawing.Size values automatically changing in designer.vb file
 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?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|