Discussion:
Regarding Dynamic Controls
(too old to reply)
v***@gmail.com
2007-06-27 06:51:35 UTC
Permalink
Hi All,

My problem is that,how to create dynamic group of controls(like
if i click on one item in ComboBox then below i have to display group
of ComboBoxes and textboxes,labels like that)

so friends i guess i will get solution as early as possible
G Himangi
2007-06-27 07:13:44 UTC
Permalink
Take a look at the "Windows Forms Designer generated code" section in your
file. For creating controls dynamically, you use the same basic code -
create a new combobox, set its size and other properties and then add it
using Me.Controls.Add

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
---------
Post by v***@gmail.com
Hi All,
My problem is that,how to create dynamic group of controls(like
if i click on one item in ComboBox then below i have to display group
of ComboBoxes and textboxes,labels like that)
so friends i guess i will get solution as early as possible
OD
2007-07-15 12:30:58 UTC
Permalink
Creating dynamically a component at runtime is the same thing as
creating any instance of any class at runtime. So there is no special
trick. So what is exactly your problem ?
--
OD___
www.e-naxos.com
Loading...