Hi,
Is it possible to create a user control (for a windows application) that is
not rectangular but, for example, is like a circle?
When I put two controls close each other in a form, you can always see the
edge of the overlying control...
Thanks,
Mats-Lennart 4 3326
Hi Mats-Lennart,
You can create control with whatever form you please. Look at Control.Region
property.
--
Stoitcho Goutsev (100) [C# MVP]
"Mats-Lennart Hansson" <ap********@hotmail.com> wrote in message
news:Ov**************@TK2MSFTNGP10.phx.gbl... Hi, Is it possible to create a user control (for a windows application) that is not rectangular but, for example, is like a circle?
When I put two controls close each other in a form, you can always see the edge of the overlying control...
Thanks,
Mats-Lennart
You may want to look at VG.net, which has a Visual Studio .NET designer very
similar to a user control designer, but uses pure vector graphics.
Regards,
Frank Hileman
check out VG.net: www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor
"Mats-Lennart Hansson" <ap********@hotmail.com> wrote in message
news:Ov**************@TK2MSFTNGP10.phx.gbl... Hi, Is it possible to create a user control (for a windows application) that is not rectangular but, for example, is like a circle?
When I put two controls close each other in a form, you can always see the edge of the overlying control...
Thanks,
Mats-Lennart
Thanks. But this property can't be set during design time so when do I set
it? In the constructor?
Thanks,
Mats-Lennart
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message
news:OQ**************@TK2MSFTNGP11.phx.gbl... Hi Mats-Lennart, You can create control with whatever form you please. Look at
Control.Region property.
--
Stoitcho Goutsev (100) [C# MVP]
"Mats-Lennart Hansson" <ap********@hotmail.com> wrote in message news:Ov**************@TK2MSFTNGP10.phx.gbl... Hi, Is it possible to create a user control (for a windows application) that is not rectangular but, for example, is like a circle?
When I put two controls close each other in a form, you can always see
the edge of the overlying control...
Thanks,
Mats-Lennart
Hi,
I believe in the constructor would be ok.
--
Stoitcho Goutsev (100) [C# MVP]
"Mats-Lennart Hansson" <ap********@hotmail.com> wrote in message
news:Od*************@TK2MSFTNGP11.phx.gbl... Thanks. But this property can't be set during design time so when do I set it? In the constructor?
Thanks,
Mats-Lennart
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message news:OQ**************@TK2MSFTNGP11.phx.gbl... Hi Mats-Lennart, You can create control with whatever form you please. Look at Control.Region property.
--
Stoitcho Goutsev (100) [C# MVP]
"Mats-Lennart Hansson" <ap********@hotmail.com> wrote in message news:Ov**************@TK2MSFTNGP10.phx.gbl... > Hi, > Is it possible to create a user control (for a windows application) > that > is > not rectangular but, for example, is like a circle? > > When I put two controls close each other in a form, you can always see the > edge of the overlying control... > > Thanks, > > Mats-Lennart > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: PA |
last post by:
Hi,
I want to implement the following in an applet:
^
|
| + + + + + +H
| +
| +
| H
| +
|
by: Paul Schnitter |
last post by:
Update:
My custom control is based on the article
"Creating Visual Basic .NET controls from scratch"
in "Adventures in .NET" on MSDN.
It is designed to be a replacement for the VB6 shape...
|
by: Shailaja Kulkarni |
last post by:
Hi All,
I am new to component development.
I want to create custom control to arrange contained controls in form of
polygonal shape.
The objects are placed in separate panel on the some form....
|
by: Tebogo Tefo via .NET 247 |
last post by:
Hi
I have a user control that contains three dropdownlists that I populate according to
what was selected in the other dropdownlist (i.e. populate dropdownlist2 after selecting a
value in...
|
by: Dursun |
last post by:
Collegues, is it possible to do the foloowing:
Let end user draw specific shapes (a circle that has a number within it and
a connector that points to a specific area on the background image)...
|
by: Hamed |
last post by:
Have I posted the message to wrong newsgroup?
Or
Does the question is so much strage?
Would someone please kindly direct me to a true newsgroup or resource?
Best Regards
Hamed
|
by: PankajGaur |
last post by:
Hi,
I need to create a Ellipse shaped user control which have folloiwng
attributes:
1) The edges are smooth
2) The control shuld only be selected when click on the ellipse shape & not
when...
|
by: =?Utf-8?B?UGFua2FqR2F1cg==?= |
last post by:
Hi,
I need to create a Ellipse shaped user control which have folloiwng
attributes:
1) The edges are smooth
2) The control shuld only be selected when click on the ellipse shape & not
when...
|
by: \(O\)enone |
last post by:
I'm trying to create a usercontrol that is transparent, both visibly and to
mouse clicks.
I can make the usercontrol visibly transparent by setting the
SupportsTransparentBackColor style and...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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...
|
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...
|
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,...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |