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

Design mode at runtime

I have a form in my application. This form contains some controls + a panel
with controls in it. I have to be able to move, resize, ... the controls in
the panel (only those in the panel). Is it possible to use the design
functions of the framework to do that? All the sample that I've seen use a
form designer at runtime, but I need only a "panel or container designer".
Does anybody know if it's possible?

Thanks

Marc
Jul 21 '05 #1
1 1136
The best thing to do is just enable the user to move those controls that you
allow.

If you're interested I sell a control that assists in this process.

http://www.bobpowell.net/recttracker.htm
--
Bob Powell [MVP]
C#, System.Drawing

The November edition of Well Formed is now available.
Learn how to create Shell Extensions in managed code.
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

Read my Blog at http://bobpowelldotnet.blogspot.com

"Marc L'Ecuyer" <ml******@chca.ca> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I have a form in my application. This form contains some controls + a panel with controls in it. I have to be able to move, resize, ... the controls in the panel (only those in the panel). Is it possible to use the design
functions of the framework to do that? All the sample that I've seen use a
form designer at runtime, but I need only a "panel or container designer".
Does anybody know if it's possible?

Thanks

Marc

Jul 21 '05 #2

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

Similar topics

3
by: Tom Rahav | last post by:
Hi. I develop VB.NET for about 2 year.... recently, I created some user controls, and use them in a win-form. Sometimes, when I try to design a form that contains these controls, I get error...
1
by: Ale K. | last post by:
There is any Function to check if the program is in runtime or design mode, so i can avoid some of my usercontrols throwing me some errors while i'm on design mode?? Thanks. Alex.
14
by: Jan Nielsen | last post by:
Hi In Microsoft Access it is possible to write code like this Sub test() DoCmd.OpenForm "TestForm", acDesign Dim a As Control For Each a In Forms("TestForm").Controls Do stuff Next End Sub
1
by: astroboy | last post by:
How do UserControl know it is in design mode or runtime mode?
2
by: TerryStone | last post by:
I have created a control that displays a list of items. During design mode I fill it with junk data using calls from the constructor. So when I look at a form with the control on, instead of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.