Consultor Eletrônico



Kbase P134942: Cannot add inherited ABL components to Toolbox
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/18/2009
Status: Unverified

SYMPTOM(s):

Cannot add inherited ABL components to Toolbox

ABL class inheriting from .NET System.ComponentModel.Component cannot be added to Visual Designer toolbox

ABL class inheriting from .NET System.ComponentModel.Component does not show up under ABL Controls tab in Add Controls dialog

FACT(s) (Environment):

.NET System.ComponentModel.Component is base class for non-visual components useable in Visual Designer
.NET components inheriting from System.ComponentModel.Component can be added to the toolbox
OpenEdge 10.2A
Windows

CAUSE:

Bug# OE00174399

FIX:

Workaround:

Manually edit the project's toolbox.xml file to add the component.

For example:

<ControlGroup Text="Custom controls" Remove="True">
<Control Text="ABLComponent" Type="ABLControl" Assembly="" Path="F:/workspace/project/components/ABLComponent.cls" />
</ControlGroup>

This is a control group node that can be inserted under the document's "ToolBoxConfig" root node.
The "Control" node within this group specifies the location of the component's .cls file to include. The Path attribute can be modified as required to refer to specific components.