473,386 Members | 1,819 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,386 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 1139
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: 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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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.