473,378 Members | 1,607 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,378 software developers and data experts.

Change Control's size&location in runtime

Hi,all
I want to change Control's size&location in runtime ,(C#)
but i dont know how to do! :(so, can you provide me
with document about this.
my email: zh******@rinpak.com.cn zh***********@163.com

thank you in advance.
Nov 17 '05 #1
3 11287
Just set the Size and Location properties, or set them both at the same time
using the Bounds property. See the documentation linked below for more.
http://msdn.microsoft.com/library/de...oundstopic.asp

--
Tim Wilson
..Net Compact Framework MVP

<zh***********@163.com> wrote in message
news:uC**************@TK2MSFTNGP14.phx.gbl...
Hi,all
I want to change Control's size&location in runtime ,(C#)
but i dont know how to do! :(so, can you provide me
with document about this.
my email: zh******@rinpak.com.cn zh***********@163.com

thank you in advance.

Nov 17 '05 #2
Ok,First of all thank u 4 your reply!
I'm sorry that i have not made a particular
description of my question in the front letter .
i means that these control can be changed by
mouse drop in runtime(the same to DesignTime)!

"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Just set the Size and Location properties, or set them both at the same
time
using the Bounds property. See the documentation linked below for more.
http://msdn.microsoft.com/library/de...oundstopic.asp

--
Tim Wilson
.Net Compact Framework MVP

<zh***********@163.com> wrote in message
news:uC**************@TK2MSFTNGP14.phx.gbl...
Hi,all
I want to change Control's size&location in runtime ,(C#)
but i dont know how to do! :(so, can you provide me
with document about this.
my email: zh******@rinpak.com.cn zh***********@163.com

thank you in advance.


Nov 17 '05 #3
If you want to allow the user to move and resize controls at runtime then
there are some past discussions about this in the google archives linked
below.
http://groups-beta.google.com/groups...ontrol+runtime

In addition, if you want a commercial solution then you may want to look
here...
http://www.xraytools.net/productdetail.aspx?id=4

--
Tim Wilson
..Net Compact Framework MVP

<zh***********@163.com> wrote in message
news:eu**************@tk2msftngp13.phx.gbl...
Ok,First of all thank u 4 your reply!
I'm sorry that i have not made a particular
description of my question in the front letter .
i means that these control can be changed by
mouse drop in runtime(the same to DesignTime)!

"Tim Wilson" <TIM(UNDERSCORE)WILSON(AT)ROGERS(PERIOD)COM> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Just set the Size and Location properties, or set them both at the same
time
using the Bounds property. See the documentation linked below for more.
http://msdn.microsoft.com/library/de...oundstopic.asp
--
Tim Wilson
.Net Compact Framework MVP

<zh***********@163.com> wrote in message
news:uC**************@TK2MSFTNGP14.phx.gbl...
Hi,all
I want to change Control's size&location in runtime ,(C#)
but i dont know how to do! :(so, can you provide me
with document about this.
my email: zh******@rinpak.com.cn zh***********@163.com

thank you in advance.



Nov 17 '05 #4

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

Similar topics

1
by: JF | last post by:
Hi, I need to change the location of the parent window and after that scroll a little bit (because of "position:fixed" css buttons, which obscure the title). I have...
15
by: Geoff Cox | last post by:
Hello, Can I separately declare and initialize a string array? How and where would I do it in the code below? It was created using Visual C++ 2005 Express Beta 2 ... In C# I would have ...
0
by: nedk | last post by:
I am getting the following error when attempting to login to a site where I am trying to use Membership. Does anyone know why I am getting this error and how to fix it. Thanks in advance. -Ned ...
7
by: Doru Roman | last post by:
Hi, What is the fastest way to evaluate manually the result in this case: int a, b, c; a = 255; b = 122; c = a & b; The only way I know is transforming each number into the binary value...
0
by: Seok Bee | last post by:
Dear Experts, I am having a wizard control in my web app. I have some textbox controls within the wizard control. At the same time, I have a hyperlink to run a pop-up window for calendar. The...
5
by: sunny | last post by:
Hi All Is there any way to determine stack and heap size, during runtime. i.e can we predict stack overflow. etc
0
by: BigAl.NZ | last post by:
Hi Guys, I am trying to write/copy some code that uses events with a GPS. Everytime the GPS position updates the event fires. The GPS code is from a SDK Library that I got called GPS Tools...
3
by: Joseph Gruber | last post by:
Hi all -- I have two questions. First, I'm adding a control to my form at runtime and the control/form seems to ignore the anchor property of the runtime control. Any idea how I can get a...
1
by: Joseph Gruber | last post by:
Hi all. I'm looking for some help here. My app creates a runtime label which is used as a clock -- it also then creates the timer for this clock at runtime. When the timer tick's clockUpdate is...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.