Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

My own toolpanel
I am using vb.net

I have written my own usercontrol button.
I am writing a usercontrol toolbar using these buttons.
I have written a collection class (Button Collection) to contain these
buttons.
On my toolbar control I have this code:-
< DesignerSerializationVisibility(Designer
SerializationVisibility.Content), _
 EditorAttribute(GetType(CollectionEditor
), GetType(UITypeEditor))> _
Public Property Buttons() as ButtonCollection
etc.

Now when I add the Toolbar Control to a new form, I see in then properties
window the Buttons collection and this allows me to add, remove buttons etc.

And they persist because you see on the host form the various Dim statements
etc.
BUT you don't see the MyToolBar.AddRange (New myButton() {etc...

Any ideas.



Report this thread to moderator Post Follow-up to this message
Old Post
Stuart Nathan
04-29-05 08:55 PM


Re: My own toolpanel
Almost everybody in this newsgroup is using VB6 or lower. While you may
get a stray answer to VB.NET (including VB2003 and VB2005 which has
dropped .NET from its name) questions here, you should ask them in
newsgroups devoted exclusively to .NET programming. Look for newsgroups
with either the word "dotnet" or "vsnet" in their name.

For the microsoft news server, try these newsgroups for Visual Basic
.NET related questions...

microsoft.public.dotnet.languages.vb
microsoft.public.dotnet.languages.vb.upgrade
microsoft.public.dotnet.languages.vb.controls
microsoft.public.dotnet.languages.vb.data

And these for more general .NET questions

microsoft.public.dotnet.general
microsoft.public.vsnet.general

Note: There are many other .NET newgroups (use the first three "fields"
from the last two as templates when searching for them), but the above
ones should get you started.

Rick - MVP



"Stuart Nathan" <Stuart.Nathan@btopenworld.com> wrote in message
news:d4t7t1$kj2$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...
> I am using vb.net
>
> I have written my own usercontrol button.
> I am writing a usercontrol toolbar using these buttons.
> I have written a collection class (Button Collection) to contain these
> buttons.
> On my toolbar control I have this code:-
>
< DesignerSerializationVisibility(Designer
SerializationVisibility.Content
), _
>  EditorAttribute(GetType(CollectionEditor
), GetType(UITypeEditor))> _
> Public Property Buttons() as ButtonCollection
> etc.
>
> Now when I add the Toolbar Control to a new form, I see in then
properties
> window the Buttons collection and this allows me to add, remove
buttons etc.
>
> And they persist because you see on the host form the various Dim
statements
> etc.
> BUT you don't see the MyToolBar.AddRange (New myButton() {etc...
>
> Any ideas.
>
>


Report this thread to moderator Post Follow-up to this message
Old Post
Rick Rothstein
04-29-05 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:29 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.