473,387 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

mdi form always starts maximised

How can i avoid this ? i tried setting the size properties but the
damn thing completely ignores it..
anyone know how ?

cheers

andy
Feb 4 '08 #1
7 1283
Check the WindowState property and make sure it is not set to maximized.

Charlie
"androoo" <an**@excommerce.netwrote in message
news:1e**********************************@q77g2000 hsh.googlegroups.com...
How can i avoid this ? i tried setting the size properties but the
damn thing completely ignores it..
anyone know how ?

cheers

andy

Feb 4 '08 #2
On Feb 4, 5:28*pm, androoo <a...@excommerce.netwrote:
How can i avoid this ? i tried setting the size properties but the
damn thing completely ignores it..
anyone know how ?

cheers

andy
For your form_load event:
<form>.WindowState = vbNormal

may help you.
Feb 4 '08 #3
On Feb 4, 5:28*pm, androoo <a...@excommerce.netwrote:
How can i avoid this ? i tried setting the size properties but the
damn thing completely ignores it..
anyone know how ?

cheers

andy
Or <form>.WindowState = FormWindowState.Normal
Feb 4 '08 #4
Yes have that already and also set size width and height but still the
form goes max...any ideas how to force it?

Me.WindowState = vbNormal
Me.Width = 858
Me.Height = 656
Feb 4 '08 #5
On Feb 4, 10:25*pm, androoo <a...@excommerce.netwrote:
Yes have that already and also set size width and height but still the
form goes max...any ideas how to force it?

* *Me.WindowState = vbNormal
* *Me.Width = 858
* *Me.Height = 656
You should have forced it if you put WindowState propety on your
form's load event. If you still see your form maximized then your
screen resolution might be close or same with your form's size which
is not an actual maximization.
Feb 5 '08 #6
its strange its not to do with resolution--
very annoying but if no one else gets this then it must be a setting
somewhere or piece of code upsetting things..
Feb 6 '08 #7
I'm experiencing a problem that's similar; I start my MDI application. When
loading the main MDI form, I show the first child form form and set it to
maximize. The windowstate setting of that first MdiChild form seems to be
causing another form that shares the same MdiParent form (but is otherwise
independent) to also be maximized when I show it as well. I see no way the
windowstate properties of these 2 forms can be related using any of the code
I've written.
"androoo" wrote:
How can i avoid this ? i tried setting the size properties but the
damn thing completely ignores it..
anyone know how ?

cheers

andy
Feb 12 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ant | last post by:
I have a form ‘Main’ and it is maximised, on the form is a command button to open another form over the top I always want it to open in a window restored, currently sometimes it opens maximised...
3
by: What-a-Tool | last post by:
I have a main form that is my start-up form. I want this form to be maximized all the time, so in the code for Form_Load I have DoCMD.Maximize. However, as soon as I open another form that is not...
1
by: SteveShanks | last post by:
Hi Al How can I set the size of an mdi child form to fill the parent windows as if it was maximised without actually maximising the form as this causes all my subsequent child forms to be...
1
by: Irfan Mumtaz | last post by:
I am developoing an application in vb.net 2003,which starts by first opening another application ie; a CAD software and then it opens the form that i have created. When the form opens, it is always...
6
by: marcmc | last post by:
No matter what happens when you close form2 I want to ensure that Form 1 will always returned maximised. Is there a method?
4
by: kaosyeti | last post by:
what's the best way to get a form to always open at a specific size. i've sized and saved the forms, changed the borders and had popup on and off all over but can't seem to get it to stay one way...
4
by: Daniel R. Rossnagel | last post by:
As I can hide the bar of I title of a window daughter maximized within form MDI Already I have proven with different types from borders, hiding thebuttons to maximize, to diminish and control box,...
3
by: aman909 | last post by:
I would like it so when a form is opened, it opens in the maximised size that is possible. How do i do this?
2
by: Samuel | last post by:
I have some questions that are sort of connected. I use Access 2003. Is it possible to set some properties that can make the Access window open at a particular size? Is it possible to make a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.