Re: expose class modules of a referenced mde



Actually, I prefer them a great deal to standard modules because they
serve as wrappers for other objects which basically allows for
multi-tiers of events all responding to the same thing via the
WithEvents keyword or a RaiseEvent statement. Also allows me to build
in design tools for users trying to create their own forms or reports
and have a consistent set of controls on them that do exactly the same
thing my controls do as well as looking and feeling the same.

You can accomplish all that without using classes, sure...but who'd
want to? I would estimate about 15-20% more design time for a new
classs module up-front, but worlds less design time down the road.

As for tying them in with a reference to another mde...well, that's the
part I'm still exploring, and step A is finding a way to do it, which
thus far hasn't worked.

I'll try your suggestions, Terry. Missed the VB_Creatable setting.
Should've seen that myself on closer review.

.



Relevant Pages

  • Re: Provider Properties + IExtenderProvider
    ... The IExtenderProvider only enables you to add a property at design time. ... on the operation of the extender provider. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... It seems I can provide properties, like> strings, bools, ints, but not events to other controls. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: need to add textboxes to userform on the fly
    ... Sorry Bob, ... design time and adapting their Visible, ... >It is indeed possible to add controls tom a userform on ... >Dim newButton As MSForms.Control ...
    (microsoft.public.excel.programming)
  • Re: create design time library using vs.net
    ... > writing controls with design time support isn't the issue, my controls also> have design time support which works just peachy. ... >>> multiple places; using definition from ... You must add a reference to assembly ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Cool calm and collective BUG!!!!
    ... Right, I've found the problem, for some reason or another the controls ... Surely it should be design time until I ... >> When devloping class libraries I have always had troubles with the ...
    (microsoft.public.dotnet.languages.vb)
  • CreateChildControls(...) or Render(...)?
    ... Should I create controls for a composite WebControl in the ... CreateChildControl or the Render method? ... is not called at design time when the control is on a page being designed. ... Private m_QuestionLabel As New WebControls.Label ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)