Setting a default (Name) for a control in the designer



I'd like to modify the default "basename" for a certain control class
of mine. For example, I have a whole series of classes auto-generated
like FOOBAR, FOOHELLO, etc. and I want the default names to be FOOBAR1,
FOOBAR2, FOOHELLO1, FOOHELLO2, etc. Not fooBAR1, fooBAR2, etc.

I'm OK with also creating the entire unique name (i.e. adding the 1, 2,
etc) if that means iterating through the controls on the form. But I
just can't figure out how to do either and it is hard to search for
(Name) on the Web. I looked at ControlDesigner but am stuck.

Thanks,
Jeff

.



Relevant Pages

  • Re: Running IDE as a standard user in Vista
    ... the IDE. ... Class ComctlLib.StatusBar of control sBar was not a loaded ... control class. ... loaded control class. ...
    (microsoft.public.vb.general.discussion)
  • Re: newbie: stuck on trying to modify a control porerty from within created thread. Pls some help.
    ... It doesn't matter where the method trying to modify the control is declared ... what is important is the thread executing that ... event is hooked by the control class. ... > You need to call BeginInvoke method of the delegate from the thread. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: CMonthCalendarCtrl problem
    ... Load animate control class. ... Load toolbar, status bar, trackbar, and ToolTip control classes. ...
    (microsoft.public.vc.atl)
  • User Control without Visual Studio
    ... Im trying to get a user control working in mono/ASP.NET. ... it declaratively in a hosting page's .aspx file. ... your control class for you and add's whatever is needed in your hosting ... compiler will recognize my class type and let me access it ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Object-orientation: Have I finally attained "high priesthood"?
    ... > decomposition that invoke lower level functions in a particular order. ... "LoginManager" class, which then invokes a "DatabaseBroker" class to ... isn't the LoginManager a control class? ...
    (comp.object)