It allows you to access .Net objects, methods and properties from Basic4ppc code without
creating new libraries.
It won't replace any existing library but rather make these libraries and Basic4ppc itself more
complete.
For example you can use this library to access all the properties of a control (on the desktop or
device) and not only the subset supported by Basic4ppc.
You should have some knowledge with the .Net Framework if you want to fully exploit this library.
There are three types of objects in the Door library.
Object - The main data type which holds the value of a specific .Net object.
ObjectArray - An array of objects. It is mostly used to pass arguments to methods or constructors.
Event - Represents an event and allows adding events to objects.
The following types of events arguments are supported:
- EventHandler
- KeyEventHandler
- KeyPressEventHandler
- MouseEventHandler
- PaintEventHandler
Examples:
Change the Form's KeyPreview property to true - All keystrokes will be first handled by
Form_KeyPress event.
Form1 is a regular Form, ofrm is an Object
Sub App_Start
Form1.Show
ofrm.New1(false)
ofrm.FromControl("Form1")
ofrm.SetProperty("KeyPreview",true)
End Sub
Desktop only: Change the icon of a specific form.
Form1 is a regular Form, ofrm and oIcon are Objects, args is an ObjectArray.