By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,695 Members | 1,597 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,695 IT Pros & Developers. It's quick & easy.

Form Sizing

P: n/a
Yesterday I worked on three forms in my VB Application. I set their initial
sizes at 1024,768, with one of them being a MDI Parent form and the other two
child forms. Everything was working fine yesterday when I wrapped up the day.

Now, today I load my applicaiton and for some odd reason all of the forms
have been resized to something more like 800,600 or slightly less. All of the
forms now are not appearing as they did yesterday. I've noticed this several
times and am at a loss as to why this would occur.

Has anyone come across a situation like this? The only thing different I am
doing is I am using some thrid party controls from DevExpress. Can it be them
that is causing this to happen? I'm not sure.

I would just like my forms to stay the size I defined them at. How can I
achieve this?

Thank You,

Oct 18 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Greg wrote:
Yesterday I worked on three forms in my VB Application. I set their initial
sizes at 1024,768, with one of them being a MDI Parent form and the other two
child forms. Everything was working fine yesterday when I wrapped up the day.

Now, today I load my applicaiton and for some odd reason all of the forms
have been resized to something more like 800,600 or slightly less. All of the
forms now are not appearing as they did yesterday. I've noticed this several
times and am at a loss as to why this would occur.

Has anyone come across a situation like this? The only thing different I am
doing is I am using some thrid party controls from DevExpress. Can it be them
that is causing this to happen? I'm not sure.

I would just like my forms to stay the size I defined them at. How can I
achieve this?

Thank You,
I have run into this before a long time ago when I started using express
but didnt know enough to figure out what was going on.

It had to do with setting the windowstate.

Since then any paramater that has to do with the form size, such as
width / height / and windowstate property, i always set manually before
the form is called. It got rid of my issue.

I was never able to re-create it properly, but i remember running into
that a long time ago.

M.
Oct 18 '07 #2

P: n/a
Hi Greg,

Since DevExpress is not a Microsoft control, it is hard for us to give a
definte answer. I would recommend you to remove or temporarily disable
DevExpress control, does the problem still exists?

This will help us to isolate the problem. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 19 '07 #3

P: n/a
I think it is possible this may be a DevExpress isssue, because I created
another project in a similar way, except not using DevExpress tools and this
does not seem to be happening. At least so far it seems Ok.

What is funny about thiough, is it does not occur everyday and everytime.

Thanks.

""Jeffrey Tan[MSFT]"" wrote:
Hi Greg,

Since DevExpress is not a Microsoft control, it is hard for us to give a
definte answer. I would recommend you to remove or temporarily disable
DevExpress control, does the problem still exists?

This will help us to isolate the problem. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Oct 20 '07 #4

P: n/a
Hi Greg,

Thank you for the confirmation.

Yes, I suspect certain action or environment change may trigger the mystery
code path in DevExpress and cause the form size to change. Anyway, I think
you may contact the author of DevExpress to report this issue.

Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Oct 22 '07 #5

P: n/a
Yes, I have reported the issue to DevExpress and their response is that
they've never seen it before. Of course, if I find out that this occurs to me
this afternoon when I get into the office, I will be pretty much convinced
its DevExpress.

Thanks.

""Jeffrey Tan[MSFT]"" wrote:
Hi Greg,

Thank you for the confirmation.

Yes, I suspect certain action or environment change may trigger the mystery
code path in DevExpress and cause the form size to change. Anyway, I think
you may contact the author of DevExpress to report this issue.

Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Oct 22 '07 #6

P: n/a
Yes, this makes sense. If you need any further help, please feel free to
post here, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Oct 24 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.