In VB6 I could invoke a tool ( don't remember how right now) that would
enable me to create properties in my user control that passed through
properties of components on the user control.
I badly need that capability now but can't find it. Is it available in
VB.NET? Anyone know how to do this ??
What I need is something that would create the code in my user control for
all the properties contained in a control contained in my user control.
If I knew how to programmaticall y get a list of the properties I'd write a
little program to generate the code - which I could then paste into my user
control. Any help how to programmaticall y get a list ?? I suppose I could
cut it out of the Help but that's a kludge.
Thanks in advance,
Cal 6 1546
Your trying to make your own customer user control right? And you want to
be able to have properties in the property grid?
-CJ
" active" <ac****@REMOV Ea-znet.com> wrote in message
news:eh******** ********@TK2MSF TNGP09.phx.gbl. .. In VB6 I could invoke a tool ( don't remember how right now) that would enable me to create properties in my user control that passed through properties of components on the user control.
I badly need that capability now but can't find it. Is it available in VB.NET? Anyone know how to do this ??
What I need is something that would create the code in my user control for all the properties contained in a control contained in my user control.
If I knew how to programmaticall y get a list of the properties I'd write a little program to generate the code - which I could then paste into my
user control. Any help how to programmaticall y get a list ?? I suppose I could cut it out of the Help but that's a kludge.
Thanks in advance, Cal
I don't know the expression "property grid" but I think the answer is "yes".
I need for eack "Something" property of the picturebox on my usercontrol:
Public Property PicSomething() As Integer
or
Public Property Something() As Integer
Set(ByVal Value As Integer)
Picture1.someth ing = Value
End Set
Get
Return Picture1.someth ing
End Get
End Property
Thanks
Cal
"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:vs******** ****@corp.super news.com... Your trying to make your own customer user control right? And you want to be able to have properties in the property grid?
-CJ " active" <ac****@REMOV Ea-znet.com> wrote in message news:eh******** ********@TK2MSF TNGP09.phx.gbl. .. In VB6 I could invoke a tool ( don't remember how right now) that would enable me to create properties in my user control that passed through properties of components on the user control.
I badly need that capability now but can't find it. Is it available in VB.NET? Anyone know how to do this ??
What I need is something that would create the code in my user control
for all the properties contained in a control contained in my user control.
If I knew how to programmaticall y get a list of the properties I'd write
a little program to generate the code - which I could then paste into my user control. Any help how to programmaticall y get a list ?? I suppose I
could cut it out of the Help but that's a kludge.
Thanks in advance, Cal
And you want to be able to set that at design time right?
-CJ
" active" <ac****@REMOV Ea-znet.com> wrote in message
news:ey******** *****@TK2MSFTNG P11.phx.gbl... I don't know the expression "property grid" but I think the answer is
"yes". I need for eack "Something" property of the picturebox on my usercontrol:
Public Property PicSomething() As Integer or Public Property Something() As Integer Set(ByVal Value As Integer) Picture1.someth ing = Value End Set Get Return Picture1.someth ing End Get End Property
Thanks Cal
"CJ Taylor" <no****@blowgoa ts.com> wrote in message news:vs******** ****@corp.super news.com... Your trying to make your own customer user control right? And you want
to be able to have properties in the property grid?
-CJ " active" <ac****@REMOV Ea-znet.com> wrote in message news:eh******** ********@TK2MSF TNGP09.phx.gbl. .. In VB6 I could invoke a tool ( don't remember how right now) that
would enable me to create properties in my user control that passed through properties of components on the user control.
I badly need that capability now but can't find it. Is it available
in VB.NET? Anyone know how to do this ??
What I need is something that would create the code in my user control for all the properties contained in a control contained in my user
control. If I knew how to programmaticall y get a list of the properties I'd
write a little program to generate the code - which I could then paste into my
user control. Any help how to programmaticall y get a list ?? I suppose I could cut it out of the Help but that's a kludge.
Thanks in advance, Cal
No. At run time
Cal
"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:vs******** ****@corp.super news.com... And you want to be able to set that at design time right?
-CJ " active" <ac****@REMOV Ea-znet.com> wrote in message news:ey******** *****@TK2MSFTNG P11.phx.gbl... I don't know the expression "property grid" but I think the answer is "yes". I need for eack "Something" property of the picturebox on my
usercontrol: Public Property PicSomething() As Integer or Public Property Something() As Integer Set(ByVal Value As Integer) Picture1.someth ing = Value End Set Get Return Picture1.someth ing End Get End Property
Thanks Cal
"CJ Taylor" <no****@blowgoa ts.com> wrote in message news:vs******** ****@corp.super news.com... Your trying to make your own customer user control right? And you
want to be able to have properties in the property grid?
-CJ " active" <ac****@REMOV Ea-znet.com> wrote in message news:eh******** ********@TK2MSF TNGP09.phx.gbl. .. > In VB6 I could invoke a tool ( don't remember how right now) that would > enable me to create properties in my user control that passed
through > properties of components on the user control. > > I badly need that capability now but can't find it. Is it available in > VB.NET? Anyone know how to do this ?? > > What I need is something that would create the code in my user
control for > all the properties contained in a control contained in my user control. > > If I knew how to programmaticall y get a list of the properties I'd
write a > little program to generate the code - which I could then paste into
my user > control. Any help how to programmaticall y get a list ?? I suppose I could > cut it out of the Help but that's a kludge. > > > Thanks in advance, > Cal > >
Wait, are you talking about PropertyBags? that type of implementation?
Sorry for asking so many questions, just not 100% on what your looking for.
-CJ
" active" <ac****@REMOV Ea-znet.com> wrote in message
news:e2******** ******@tk2msftn gp13.phx.gbl... No. At run time
Cal
"CJ Taylor" <no****@blowgoa ts.com> wrote in message news:vs******** ****@corp.super news.com... And you want to be able to set that at design time right?
-CJ " active" <ac****@REMOV Ea-znet.com> wrote in message news:ey******** *****@TK2MSFTNG P11.phx.gbl... I don't know the expression "property grid" but I think the answer is "yes". I need for eack "Something" property of the picturebox on my usercontrol: Public Property PicSomething() As Integer or Public Property Something() As Integer Set(ByVal Value As Integer) Picture1.someth ing = Value End Set Get Return Picture1.someth ing End Get End Property
Thanks Cal
"CJ Taylor" <no****@blowgoa ts.com> wrote in message news:vs******** ****@corp.super news.com... > Your trying to make your own customer user control right? And you want to > be able to have properties in the property grid? > > -CJ > " active" <ac****@REMOV Ea-znet.com> wrote in message > news:eh******** ********@TK2MSF TNGP09.phx.gbl. .. > > In VB6 I could invoke a tool ( don't remember how right now) that would > > enable me to create properties in my user control that passed through > > properties of components on the user control. > > > > I badly need that capability now but can't find it. Is it
available in > > VB.NET? Anyone know how to do this ?? > > > > What I need is something that would create the code in my user control for > > all the properties contained in a control contained in my user control. > > > > If I knew how to programmaticall y get a list of the properties I'd write a > > little program to generate the code - which I could then paste
into my > user > > control. Any help how to programmaticall y get a list ?? I suppose
I could > > cut it out of the Help but that's a kludge. > > > > > > Thanks in advance, > > Cal > > > > > >
I need the follow code in my UserControl for each property of the PictureBox
that is on my UserControl and I don't want to type the code
"> > > > I need for each "Something" property of the picturebox on my usercontrol: > > Public Property PicSomething() As Integer > or > Public Property Something() As Integer > Set(ByVal Value As Integer) > Picture1.someth ing = Value > End Set > Get > Return Picture1.someth ing > End Get > End Property > > Thanks > Cal > > "CJ Taylor" <no****@blowgoa ts.com> wrote in message > news:vs******** ****@corp.super news.com... > > Your trying to make your own customer user control right? And you want to > > be able to have properties in the property grid? > > > > -CJ > > " active" <ac****@REMOV Ea-znet.com> wrote in message > > news:eh******** ********@TK2MSF TNGP09.phx.gbl. .. > > > In VB6 I could invoke a tool ( don't remember how right now)
that would > > > enable me to create properties in my user control that passed through > > > properties of components on the user control. > > > > > > I badly need that capability now but can't find it. Is it available in > > > VB.NET? Anyone know how to do this ?? > > > > > > What I need is something that would create the code in my user control > for > > > all the properties contained in a control contained in my user control. > > > > > > If I knew how to programmaticall y get a list of the properties
I'd write > a > > > little program to generate the code - which I could then paste into my > > user > > > control. Any help how to programmaticall y get a list ?? I
suppose I > could > > > cut it out of the Help but that's a kludge. > > > > > > > > > Thanks in advance, > > > Cal > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David Barrett |
last post by:
I'm proud to announce the completion of QwikiWiki v1.4.1, available
for download now!
QwikiWiki has the fastest installation, easiest syntax, and the
fewest, highest-value features of any wiki around. Not only that,
QwikiWiki is open source, requires no prior wiki experience, no
advanced Unix skills, and never needs a database!
If you're new to wikis and looking for a place to start, QwikiWiki's
emphasis on simplicity and...
|
by: luc h |
last post by:
Hello!
I'm trying to make a very simple wizard. I have 3 different property
pages and the property sheet is set to be a wizard.
The problem is the size of the wizard dialog which is much too big. I
thought I would be the size of the biggest property page plus some
space for the next and previous buttons if needed.
Are you aware of any minimum size for a wizard?
|
by: Donna Sabol |
last post by:
Maybe it's not me. I posted a question earlier about not getting a
function call right. Well, now I'm trying to write some very simple
code, and I can't get ANYTHING to work. It won't even display a
simple message box...
Same form I had in my previous post. It's got about 10 fields on it.
It is linked right to the table containing the data, no queries or
anything. It's data entry property is set to yes. It's used to input
info...
|
by: Mr. Bungle |
last post by:
Just when I thought I knew everything...
Does anyone know why sometimes when creating a subform, the
RecodSource property is totally unavailable, this appears to happen
when you don't use the subform wizard. Instead of a "RecordSource", it
is "SourceObject"(query or table). I am creating a database for
someone that does not have the access wizard installed (normally I
don't use it much anyways) and when I create a subform and want to...
|
by: vedavyas |
last post by:
Hi all,
I have added a property for the control which is of type array list. I
am adding the properties in the design time, but in the run time it is
showing the count as 0 can u please help me this is a very urgent issue i
have to fix.
Thanks and Regards,
Vyas
| |
by: The_Rave |
last post by:
Hi everyone,
I'm trying to add my own template columns to the property builder of
..NET.
E.g. a checkbox column, or an image column.
But I can't find the sources of the wizard, or a way to add them to
the wizard, via add-in?
I tried to capture it with a macro, but all I can't get out of it is
the raise event of the wizard, nothing that happens during the wizard.
"
|
by: ASP Developer |
last post by:
I am using the wizard control on one of my asp.net pages. In the master page
I have a reference to my style sheet. For most of my users the font sizes
appear correct on the steps. However, for one of my users, the font sizes
are extremely large. The user has changed his windows font sizes. This has
managed to override the styles specified via the CssClass property on my
controls. Now a portion of the text on the wizard is hidden. Any...
|
by: Allan Ebdrup |
last post by:
I get the error "Error creating control: ID property is not specified" when
I view my custom web control in design view.
I add the control that gives an error in OnInit like this:
-----
foreach (WizardStep ws in WizardSteps)
{
CustomWizardStepHeader header = new CustomWizardStepHeader();
header.ID = "CustomWizardStepHeader";
ws.Controls.AddAt(0, header);
}
|
by: Andy B |
last post by:
I have an instance of an object that needs to be accessed by all members of
a page like page_load, button_click events and so on. Where in the
codebehind would I put the creation of the object instance?
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |