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
Activate
A form became the program's active form.
public static readonly EventDefinition Activate
Field Value
AfterUpdate
The user's change to a control's value was kept, after its BeforeUpdate.
public static readonly EventDefinition AfterUpdate
Field Value
AmbientChanged
An ambient property of a UserControl's container changed.
public static readonly EventDefinition AmbientChanged
Field Value
ApplyChanges
A PropertyPage applies its changes to the selected controls.
public static readonly EventDefinition ApplyChanges
Field Value
AsyncReadComplete
An asynchronous read of a UserControl finished.
public static readonly EventDefinition AsyncReadComplete
Field Value
AsyncReadProgress
An asynchronous read of a UserControl progressed.
public static readonly EventDefinition AsyncReadProgress
Field Value
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
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
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
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
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
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
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
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
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
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
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
Deactivate
A form stopped being the program's active form, as another of its forms became active.
public static readonly EventDefinition Deactivate
Field Value
DragDrop
A drag ended over the component.
public static readonly EventDefinition DragDrop
Field Value
DragOver
A drag moved over the component.
public static readonly EventDefinition DragOver
Field Value
DropDown
A ComboBox's list is about to drop down.
public static readonly EventDefinition DropDown
Field Value
EditProperty
A PropertyPage is asked to edit one property.
public static readonly EventDefinition EditProperty
Field Value
EnterFocus
The focus entered a UserControl or one of its controls.
public static readonly EventDefinition EnterFocus
Field Value
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
ExitFocus
The focus left a UserControl and its controls.
public static readonly EventDefinition ExitFocus
Field Value
GetDataMember
A data-source UserControl is asked for a data member.
public static readonly EventDefinition GetDataMember
Field Value
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
Hide
A UserControl was hidden.
public static readonly EventDefinition Hide
Field Value
HitTest
A windowless UserControl is asked whether a point hits it.
public static readonly EventDefinition HitTest
Field Value
InitProperties
A UserControl placed for the first time sets its properties' defaults.
public static readonly EventDefinition InitProperties
Field Value
Initialize
A form, a UserControl or a PropertyPage was created.
public static readonly EventDefinition Initialize
Field Value
KeyDown
A key went down.
public static readonly EventDefinition KeyDown
Field Value
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
KeyUp
A key went up.
public static readonly EventDefinition KeyUp
Field Value
Load
A form was loaded.
public static readonly EventDefinition Load
Field Value
LostFocus
The component lost the focus.
public static readonly EventDefinition LostFocus
Field Value
MouseDown
A mouse button went down over the component.
public static readonly EventDefinition MouseDown
Field Value
MouseMove
The mouse moved over the component.
public static readonly EventDefinition MouseMove
Field Value
MouseUp
A mouse button went up over the component.
public static readonly EventDefinition MouseUp
Field Value
OLECompleteDrag
An OLE drag from the component finished.
public static readonly EventDefinition OLECompleteDrag
Field Value
OLEDragDrop
An OLE drag was dropped on the component.
public static readonly EventDefinition OLEDragDrop
Field Value
OLEDragOver
An OLE drag moved over the component.
public static readonly EventDefinition OLEDragOver
Field Value
OLEGiveFeedback
An OLE drag from the component asks which pointer to show.
public static readonly EventDefinition OLEGiveFeedback
Field Value
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
OLEStartDrag
An OLE drag from the component started.
public static readonly EventDefinition OLEStartDrag
Field Value
PageAddControl
A control was added to a page of a MultiPage. Index is the page's.
public static readonly EventDefinition PageAddControl
Field Value
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
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
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
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
PageRemoveControl
A control was taken off a page of a MultiPage. Index is the page's.
public static readonly EventDefinition PageRemoveControl
Field Value
Paint
The component must be redrawn.
public static readonly EventDefinition Paint
Field Value
PathChange
A FileListBox's Path changed.
public static readonly EventDefinition PathChange
Field Value
PatternChange
A FileListBox's Pattern changed.
public static readonly EventDefinition PatternChange
Field Value
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
ReadProperties
A UserControl reads its saved properties.
public static readonly EventDefinition ReadProperties
Field Value
Reposition
Another of a Data control's records became current.
public static readonly EventDefinition Reposition
Field Value
Resize
A form or a UserControl was resized.
public static readonly EventDefinition Resize
Field Value
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
SelectionChanged
The controls a PropertyPage edits changed.
public static readonly EventDefinition SelectionChanged
Field Value
Show
A UserControl was shown.
public static readonly EventDefinition Show
Field Value
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
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
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
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
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
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
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
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
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
Terminate
A form, a UserControl or a PropertyPage is about to be destroyed.
public static readonly EventDefinition Terminate
Field Value
Timer
A Timer's interval elapsed.
public static readonly EventDefinition Timer
Field Value
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
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
WriteProperties
A UserControl saves its properties.
public static readonly EventDefinition WriteProperties