472,807 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,807 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 11247
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.