Control Methods (Typed) |
The Control type exposes the following members.
Name | Description | |
---|---|---|
Activate |
Provide a method that is invoked when the control has focus and a window is activated. | |
AddChild | ||
AsString | ||
BringToFront | ||
Create |
Creates the underlying Win32 control
| |
CreateWindowEx | ||
Deactivate |
Provide a method that is invoked when the control has focus and a window is deactivated. | |
Default | Call the default windows procedure for a control and set the EventReturnValue. | |
Destroy |
Provide a method to de-instantiate any Control object.
(Overrides Destroy.) | |
Disable |
Disable a control (until a subsequent call to Control:Enable()).
| |
DisableTheme |
Disable the WinXP theme for a control.
| |
Dispatch |
Provide the prototype dispatcher for events within the system when the control has focus; routing various events to their appropriate event handlers. | |
Drop | ||
Enable |
Enable a control that was previously disabled.
| |
Expose |
Provide a method that is invoked when the control has focus and whenever part of the window needs repainting. | |
FocusChange |
Provide a method that is invoked when the control has focus and the input focus changes from the current control to another (or vice versa). | |
Handle |
Return the handle for a control.
| |
HasBorder | Check if a border has been set for the control | |
HasStyle | Check if a style value has been set for the control | |
Hide |
Hide a control so it is not visible (until a subsequent call to Control:Show()).
| |
HorizontalScroll |
Provide a method that is invoked when the control has focus and a horizontal scroll bar is scrolled. | |
IsEnabled |
Report if this control is currently enabled.
| |
IsReadOnly |
Report if this control is currently readonly.
| |
IsVisible |
Report if this control is visible (completely or partially) or hidden.
| |
KeyDown |
Provide a method that is invoked when the control has focus and a key on the keyboard is pressed. | |
KeyUp |
Provide a method that is invoked when the control has focus and a key on the keyboard is released. | |
LinkDF |
Connect a control to a data field in a data server.
| |
MenuInit |
Provide a method that is invoked when a pop-up menu owned by the control is about to pop up.
| |
MenuSelect |
Provide a method that is invoked when an item on a menu owned by the control is highlighted.
| |
MouseButtonDoubleClick |
Provide a method that is invoked when the control has focus, the mouse pointer is positioned over the window, and a mouse button is double-clicked. | |
MouseButtonDown |
Provide a method that is invoked when the control has focus, the mouse pointer is positioned over the window, and a mouse button is clicked. | |
MouseButtonUp |
Provide a method that is invoked when the control has focus, the mouse pointer is positioned over the window, and a mouse button is released.
| |
MouseDrag |
Provide a method that is invoked when the control has focus and a mouse with one or more buttons clicked is moved in the window.
| |
MouseMove |
Provide a method that is invoked when the control has focus and the mouse is moved in the control.
| |
Move |
Provide a method that is invoked when the control has focus and the control is moved (either by the user or by the application).
| |
OnControlCreated | ||
OnHandleCreated | ||
OnHandleDestroyed | ||
OverRide | This is a compatibility method that is no longer used or needed. | |
OwnerAlignmentHandledByWinForms | ||
PaintBackGround | ||
PerformValidations |
Perform all the validations defined to this control's field specification (for example, required, maximum and minimum digits, maximum and minimum value, validation rule) and return the result of the test.
| |
RegisterTimer |
Register a timer method to be invoked for the control.
| |
RePaint |
Send an ExposeEvent to repaint the control
| |
Resize |
Provide a method that is invoked when the control has focus and the control changes size.
| |
RestoreUpdate |
Resume all drawing updates for a control (after Control:SuspendUpdate() is called).
| |
SendToBack | ||
SetExStyle |
Set the exstyle for the control.
| |
SetFocus |
Pass input focus to a control, thereby directing all mouse and keyboard input to the control.
| |
SetStyle |
Set the style for the control.
| |
Show |
Display a control so it is visible.
| |
ShowToolTip | ||
SuspendUpdate |
Temporarily suspend all drawing updates for a control; drawing resumes with a call to Control:RestoreUpdate().
| |
Timer |
Provide a method to be invoked at specific intervals defined when the timer is registered though the RegisterTimer() method.
| |
ValidateControl | This method validates if the control has been created and when not then it triggers the control creation | |
VerticalScroll |
Provide a method that is invoked when the control has focus and a vertical scroll bar is scrolled.
|