Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB5,VB6
Expertise: beginner
Dec 18, 1999

Don't include Extender properties in ActiveX Wizard

The left-most listbox in the first page in the ActiveX Control Interface Wizard includes all the properties exposed by the constituent controls currently on the UserControl's surface. Unfortunately, this list includes Extender properties, methods, and events, which should be never added to the public interface of the ActiveX control being built. In fact, these items can't be accessed from client apps, because the Extender property has a higher priority, and in some cases you get an error when you place the ActiveX control on a VB form's surface.

This is the list of elements that shouldn't be included in the public interface of a UserControl module:

  • ActiveControl
  • Align
  • CanPropertyChange
  • CausesValidation
  • DataFormat
  • DataMember
  • DataMembers
  • DataSource
  • InitProperties
  • ReadProperties
  • ToolTipText
  • Validate
  • ValidateControls
  • WhatsThisHelpID
  • WriteProperties
Francesco Balena
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date