Книга знаний

Инф. технологии

Наследование в VBA/VB6

Автор статьи: jbond
Последняя редакция №1 от 16.12.07
URL: http://kb.mista.ru/article.php?id=618

Ключевые слова: Implements, VBA


Описывается редко используемый (за исключением реализации интерфейсов при создании COM-обьектов) Implements.

Visual Basic 6.0 does not support implementation inheritance.

In interface inheritance in Visual Basic 6.0, any class can act as an interface base class. There is no syntax for preventing any class to act as an interface base class. Likewise, there is no syntax to demand that a class act only as an interface base class.

VBA/VB6 Code

' Contents of class BaseClass
Public Sub BaseMethod()
End Sub

' Contents of class DerivedClass
Implements BaseClass
Private Sub BaseClass_BaseMethod()
End Sub


Implements with external controls
http://www.vbforums.com/showthread.php?t=430881&highlight=Implements

Adding Property to Class that use IMPLEMENTS
http://www.vbforums.com/showthread.php?t=396428&highlight=Implements

Using the Implements keyword
http://www.vbforums.com/showthread.php?t=370376&highlight=Implements

How to use Implements keyword in VB6
http://www.vbforums.com/showthread.php?t=368471&highlight=Implements

implements interfaces in VBA
http://www.vbforums.com/showthread.php?t=347541&highlight=Implements

[Resolved] Implements
http://www.vbforums.com/showthread.php?t=331875&highlight=Implements

Implements...tuff question.
http://www.vbforums.com/showthread.php?t=306146&highlight=Implements

Implements Versus WithEvents
http://www.vbforums.com/showthread.php?t=251904&highlight=Implements

Implemnting an Implements class...basic questions...
http://www.vbforums.com/showthread.php?t=252017&highlight=Implements

Implements question (for programmers with many years of vb programming)
http://www.vbforums.com/showthread.php?t=245925&highlight=Implements

Techyspeccy or anyone...Implements ObjectControl???
http://www.vbforums.com/showthread.php?t=240166&highlight=Implements

Описание | Рубрикатор | Поиск | ТелепатБот | Захваченные статьи | Установки | Форум
© Станислав Митичкин (Волшебник), 2005-2025 | Mista.ru

Яндекс.Метрика