Introduction

Ce document est disponible en français

RDCore.Forms is the form library of the RDCore platform. This site is for the developers who use it, and for those who contribute to it.

What it holds

The RDCore.Forms package holds two assemblies:

Assembly What it holds
RDCore.Forms The form model: the classes of components, their properties and events, the components of a form, the reader and writer of the RDForms document, and the reader that imports a Visual Basic 6.0 form into the model. It has no UI dependency.
RDCore.Forms.Avalonia The controls of a form, and the window built from the model, rendered with Avalonia.
Note

Not implemented. Some of Visual Basic 6.0's intrinsic classes have no control in RDCore.Forms.Avalonia, and a form's window shows none of them: see Controls.

How RDCore uses it

The RDCore language server reads a form into the model and analyses it, without loading Avalonia. The RDCore runtime runs the code behind a form; RDCore.Forms shows the form and raises its controls' events to that code.

The model

A form is a FormDefinition: a root component, the form itself, and the components placed in it. Each component is a ComponentInstance of a ComponentClass, such as RDForms.CommandButton, with the properties set on it. The classes that Visual Basic 6.0's intrinsic controls port to are in ComponentClasses, and their properties in Properties.

What a form sets that the model does not have is kept as it was written: a property as an UnmodelledProperty, and a component of a class the model does not have, such as an ActiveX control, as an UnmodelledComponent.

Project status

RDCore.Forms is in pre-alpha development. The RDCore.Forms package is on nuget.org as a prerelease: Getting started installs it, or builds it from source.


ACCUEIL • HOME | BIENVENUE • WELCOME | DÉMARRER • GET STARTED | IMPORTER • IMPORT | CONTROLS | FORMAT | 🌐 rubberduckvba.ca