Table of Contents

Class Events

Namespace
RDCore.Forms.Model
Assembly
RDCore.Forms.dll

The events of RDForms' forms and controls, with their parameters as a handler declares them. An argument the handler can change, such as a Cancel, is a value of its own type, which the handler assigns.

public static class Events
Inheritance
Events
Inherited Members

Fields

AccessKeyPress

The user pressed an access key of a UserControl.

public static readonly EventDefinition AccessKeyPress

Field Value

EventDefinition

Activate

A form became the program's active form.

public static readonly EventDefinition Activate

Field Value

EventDefinition

AfterUpdate

The user's change to a control's value was kept, after its BeforeUpdate.

public static readonly EventDefinition AfterUpdate

Field Value

EventDefinition

AmbientChanged

An ambient property of a UserControl's container changed.

public static readonly EventDefinition AmbientChanged

Field Value

EventDefinition

ApplyChanges

A PropertyPage applies its changes to the selected controls.

public static readonly EventDefinition ApplyChanges

Field Value

EventDefinition

AsyncReadComplete

An asynchronous read of a UserControl finished.

public static readonly EventDefinition AsyncReadComplete

Field Value

EventDefinition

AsyncReadProgress

An asynchronous read of a UserControl progressed.

public static readonly EventDefinition AsyncReadProgress

Field Value

EventDefinition

BeforeDragOver

Something is dragged over a control. Declared and not raised: RDForms does not implement drag and drop.

public static readonly EventDefinition BeforeDragOver

Field Value

EventDefinition

BeforeDropOrPaste

Something is about to be dropped or pasted on a control. Declared and not raised: RDForms does not implement drag and drop.

public static readonly EventDefinition BeforeDropOrPaste

Field Value

EventDefinition

BeforeUpdate

The user changed a control's value, and the change is about to be kept: for a TextBox, as the focus leaves it after an edit. A handler that sets Cancel to True keeps the focus on the control with its value as the user left it, and raises the event again as the focus next leaves it.

public static readonly EventDefinition BeforeUpdate

Field Value

EventDefinition

Change

A TextBox's or ComboBox's text, a scroll bar's, a ToggleButton's or a SpinButton's value, a DirListBox's Path or a DriveListBox's Drive changed.

public static readonly EventDefinition Change

Field Value

EventDefinition

Click

The user clicked the component or chose it with the keyboard, or a program set a CheckBox's or an OptionButton's Value or a list's ListIndex.

public static readonly EventDefinition Click

Field Value

EventDefinition

ContainerBeforeDragOver

Something is dragged over a form, a Frame or a control in it, which Control names. Declared and not raised: RDForms does not implement drag and drop.

public static readonly EventDefinition ContainerBeforeDragOver

Field Value

EventDefinition

ContainerBeforeDropOrPaste

Something is about to be dropped or pasted on a form, a Frame or a control in it, which Control names. Declared and not raised: RDForms does not implement drag and drop.

public static readonly EventDefinition ContainerBeforeDropOrPaste

Field Value

EventDefinition

ContainerScroll

A form or a Frame scrolled, named Scroll. ActionX and ActionY say what scrolled it across and down (ScrollAction), RequestDx and RequestDy how far it was asked to scroll, and ActualDx and ActualDy how far it scrolled, in pixels, to the right and down.

public static readonly EventDefinition ContainerScroll

Field Value

EventDefinition

DataError

A Data control met a data access error while no code of the program was running. The handler's Response says whether the error's message is shown.

public static readonly EventDefinition DataError

Field Value

EventDefinition

DataValidate

A Data control is about to leave its current record, for the reason Action gives; Save says whether a bound control's data changed.

public static readonly EventDefinition DataValidate

Field Value

EventDefinition

DblClick

The user double-clicked the component. A handler that sets Cancel to true says it handled the double click, as an MSForms handler's does; a Visual Basic 6.0 form's handler takes no Cancel.

public static readonly EventDefinition DblClick

Field Value

EventDefinition

Deactivate

A form stopped being the program's active form, as another of its forms became active.

public static readonly EventDefinition Deactivate

Field Value

EventDefinition

DragDrop

A drag ended over the component.

public static readonly EventDefinition DragDrop

Field Value

EventDefinition

DragOver

A drag moved over the component.

public static readonly EventDefinition DragOver

Field Value

EventDefinition

DropDown

A ComboBox's list is about to drop down.

public static readonly EventDefinition DropDown

Field Value

EventDefinition

EditProperty

A PropertyPage is asked to edit one property.

public static readonly EventDefinition EditProperty

Field Value

EventDefinition

EnterFocus

The focus entered a UserControl or one of its controls.

public static readonly EventDefinition EnterFocus

Field Value

EventDefinition

Error

A control met an error it cannot return to code, such as one while it draws. A handler that sets CancelDisplay to True keeps the error's message from being shown. Declared and not raised.

public static readonly EventDefinition Error

Field Value

EventDefinition

ExitFocus

The focus left a UserControl and its controls.

public static readonly EventDefinition ExitFocus

Field Value

EventDefinition

GetDataMember

A data-source UserControl is asked for a data member.

public static readonly EventDefinition GetDataMember

Field Value

EventDefinition

GotFocus

The component received the focus: a control, or a form none of whose controls can take it.

public static readonly EventDefinition GotFocus

Field Value

EventDefinition

Hide

A UserControl was hidden.

public static readonly EventDefinition Hide

Field Value

EventDefinition

HitTest

A windowless UserControl is asked whether a point hits it.

public static readonly EventDefinition HitTest

Field Value

EventDefinition

InitProperties

A UserControl placed for the first time sets its properties' defaults.

public static readonly EventDefinition InitProperties

Field Value

EventDefinition

Initialize

A form, a UserControl or a PropertyPage was created.

public static readonly EventDefinition Initialize

Field Value

EventDefinition

KeyDown

A key went down.

public static readonly EventDefinition KeyDown

Field Value

EventDefinition

KeyPress

A key produced a character, which the handler can change, or cancel by setting it to 0.

public static readonly EventDefinition KeyPress

Field Value

EventDefinition

KeyUp

A key went up.

public static readonly EventDefinition KeyUp

Field Value

EventDefinition

Load

A form was loaded.

public static readonly EventDefinition Load

Field Value

EventDefinition

LostFocus

The component lost the focus.

public static readonly EventDefinition LostFocus

Field Value

EventDefinition

MouseDown

A mouse button went down over the component.

public static readonly EventDefinition MouseDown

Field Value

EventDefinition

MouseMove

The mouse moved over the component.

public static readonly EventDefinition MouseMove

Field Value

EventDefinition

MouseUp

A mouse button went up over the component.

public static readonly EventDefinition MouseUp

Field Value

EventDefinition

OLECompleteDrag

An OLE drag from the component finished.

public static readonly EventDefinition OLECompleteDrag

Field Value

EventDefinition

OLEDragDrop

An OLE drag was dropped on the component.

public static readonly EventDefinition OLEDragDrop

Field Value

EventDefinition

OLEDragOver

An OLE drag moved over the component.

public static readonly EventDefinition OLEDragOver

Field Value

EventDefinition

OLEGiveFeedback

An OLE drag from the component asks which pointer to show.

public static readonly EventDefinition OLEGiveFeedback

Field Value

EventDefinition

OLESetData

An OLE drop target asks the component for data it did not supply when the drag started.

public static readonly EventDefinition OLESetData

Field Value

EventDefinition

OLEStartDrag

An OLE drag from the component started.

public static readonly EventDefinition OLEStartDrag

Field Value

EventDefinition

PageAddControl

A control was added to a page of a MultiPage. Index is the page's.

public static readonly EventDefinition PageAddControl

Field Value

EventDefinition

PageBeforeDragOver

Something is dragged over a page of a MultiPage or a control on it, which Control names. Index is the page's. Declared and not raised: RDForms does not implement drag and drop.

public static readonly EventDefinition PageBeforeDragOver

Field Value

EventDefinition

PageBeforeDropOrPaste

Something is about to be dropped or pasted on a page of a MultiPage or a control on it, which Control names. Index is the page's. Declared and not raised: RDForms does not implement drag and drop.

public static readonly EventDefinition PageBeforeDropOrPaste

Field Value

EventDefinition

PageError

A MultiPage met an error it cannot return to code. Index is the page's; a handler that sets CancelDisplay to True keeps the error's message from being shown. Declared and not raised.

public static readonly EventDefinition PageError

Field Value

EventDefinition

PageLayout

A page of a MultiPage changed size, or a control on it moved. Index is the page's.

public static readonly EventDefinition PageLayout

Field Value

EventDefinition

PageRemoveControl

A control was taken off a page of a MultiPage. Index is the page's.

public static readonly EventDefinition PageRemoveControl

Field Value

EventDefinition

Paint

The component must be redrawn.

public static readonly EventDefinition Paint

Field Value

EventDefinition

PathChange

A FileListBox's Path changed.

public static readonly EventDefinition PathChange

Field Value

EventDefinition

PatternChange

A FileListBox's Pattern changed.

public static readonly EventDefinition PatternChange

Field Value

EventDefinition

QueryUnload

A form is about to unload. A handler that sets Cancel to a value other than 0 keeps it loaded. UnloadMode says why it unloads: 0 for its close box, 1 for an Unload statement, 2 for Windows ending its session, 3 for the Task Manager, 4 for its MDI form closing, and 5 for its owner closing.

public static readonly EventDefinition QueryUnload

Field Value

EventDefinition

ReadProperties

A UserControl reads its saved properties.

public static readonly EventDefinition ReadProperties

Field Value

EventDefinition

Reposition

Another of a Data control's records became current.

public static readonly EventDefinition Reposition

Field Value

EventDefinition

Resize

A form or a UserControl was resized.

public static readonly EventDefinition Resize

Field Value

EventDefinition

Scroll

A scroll bar's thumb was dragged to a new value. The Change comes once the thumb is released, where the value is not the one the drag started at.

public static readonly EventDefinition Scroll

Field Value

EventDefinition

SelectionChanged

The controls a PropertyPage edits changed.

public static readonly EventDefinition SelectionChanged

Field Value

EventDefinition

Show

A UserControl was shown.

public static readonly EventDefinition Show

Field Value

EventDefinition

SpinDown

The user clicked a SpinButton's down or left arrow, or holds it down. The value moves toward its Min after the event, and its Change follows where the value changed.

public static readonly EventDefinition SpinDown

Field Value

EventDefinition

SpinUp

The user clicked a SpinButton's up or right arrow, or holds it down. The value moves toward its Max after the event, and its Change follows where the value changed.

public static readonly EventDefinition SpinUp

Field Value

EventDefinition

TabBeforeDragOver

Something is dragged over a TabStrip. Index is the tab under the pointer's, or -1 over none. Declared and not raised: RDForms does not implement drag and drop.

public static readonly EventDefinition TabBeforeDragOver

Field Value

EventDefinition

TabBeforeDropOrPaste

Something is about to be dropped or pasted on a TabStrip. Index is the tab under the pointer's, or -1 over none. Declared and not raised: RDForms does not implement drag and drop.

public static readonly EventDefinition TabBeforeDropOrPaste

Field Value

EventDefinition

TabClick

The user clicked a MultiPage's or a TabStrip's tab, or chose it with the keyboard. Index is the tab's.

public static readonly EventDefinition TabClick

Field Value

EventDefinition

TabDblClick

The user double-clicked a MultiPage's or a TabStrip's tab. Index is the tab's; a handler that sets Cancel to true says it handled the double click.

public static readonly EventDefinition TabDblClick

Field Value

EventDefinition

TabMouseDown

The user pressed a mouse button over a MultiPage or a TabStrip. Index is the tab under the pointer's, or -1 over none.

public static readonly EventDefinition TabMouseDown

Field Value

EventDefinition

TabMouseMove

The user moved the pointer over a MultiPage or a TabStrip. Index is the tab under the pointer's, or -1 over none.

public static readonly EventDefinition TabMouseMove

Field Value

EventDefinition

TabMouseUp

The user released a mouse button over a MultiPage or a TabStrip. Index is the tab under the pointer's, or -1 over none.

public static readonly EventDefinition TabMouseUp

Field Value

EventDefinition

Terminate

A form, a UserControl or a PropertyPage is about to be destroyed.

public static readonly EventDefinition Terminate

Field Value

EventDefinition

Timer

A Timer's interval elapsed.

public static readonly EventDefinition Timer

Field Value

EventDefinition

Unload

A form is unloading, after its QueryUnload. A handler that sets Cancel to a value other than 0 keeps it loaded.

public static readonly EventDefinition Unload

Field Value

EventDefinition

Validate

The focus is about to leave a control for another control of its form whose CausesValidation is True. A handler that sets Cancel to True keeps the focus on the control, and the control raises no LostFocus.

public static readonly EventDefinition Validate

Field Value

EventDefinition

WriteProperties

A UserControl saves its properties.

public static readonly EventDefinition WriteProperties

Field Value

EventDefinition