473,387 Members | 1,435 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.

how can i make the objects centered automaticaly when the form is maximized?

when the form is maximized i want that the objects that are in the form center them selves in the center of the form without any adjustments.
thanx
Jul 31 '10 #1
3 1252
Aimee Bailey
197 Expert 100+
If your using WinForms, all you need do is set the Anchor property of the selected control to none ;)
Jul 31 '10 #2
thank you it worked wonderfully
Jul 31 '10 #3
MMcCarthy
14,534 Expert Mod 8TB
Stephen

Remember to set a post as best answer when you are happen that your query has been answered. In this case I assume it would be AmzBee's post :)

Mary
Aug 4 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: adawson | last post by:
Hi, I need to execute some code when form submission is stopped before the page is returned from the server. For example, a user clicks a button to submit the form, realizes they've made a...
1
by: ssb | last post by:
Hello, One form in my application is the MAIN form. It is set up as "startup" form. However, I need to do the following: (1) When I double click MDE file to launch my project, the MAIN form...
5
by: Ron Vecchi | last post by:
I know the math I need to perform on width and height to keep an aspect ratio but where and how would I implement keeping a set aspect ratio on a form when a user resizes it. Override OnResize?...
3
by: Jacob Thastrup | last post by:
Hi This is propably easy to answer but how do I make sure that my controls stay in a certain area of my form. Right now if I maximize my form the controls will stay in their original position and...
2
by: abid gee | last post by:
Please give a kind look on my question. and please comments. I am Using C# as development tool of Dot Net 2.0. I wrote a function read_data() that read data from Serial Port continuously.Till...
5
by: jitendra_jkr_mca05 | last post by:
hi, I am developing a window application using c#.net. In the main MDI Form i used a timer, and in timer's tick event i have done some neccessary work. In this form I also used notifyicon to...
0
by: =?Utf-8?B?QWxleCBLLg==?= | last post by:
Hi all I am using form's ResizeEnd event to adjust some GUI staff on my form. But when user maximizes the form, this event is not fired. Theoretically, I could use Resize or SizeChanged events...
1
by: ssgindia | last post by:
I have a jsp form. In this one selection box is there. i want data to be load into the selection box from database field. when form load.
3
by: Alexio | last post by:
I need to enter a date into a text field when form is loaded. However I need this date to be static when the form is opened at a later date. I have the text box set to readonly. Will this be...
0
by: stumorgan | last post by:
This is ridiculously annoying... I want to my form to be maximized when it loads, and I want the maximize box to be disabled. However when I set WindowState = Maximized and MaximizeBox = False,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.