Method | Description | |
---|---|---|
AddCurrentBOPropHandlers ( |
Adds handlers to events of a current business object property.
|
|
AddKeyPressEventHandler ( IControlHabanero control ) : void |
Handles the default key press behaviours on a control. This is typically used to change the handling of the enter key (such as having the enter key cause focus to move to the next control).
|
|
RemoveCurrentBOPropHandlers ( |
Removes handlers to events of a current business object property. It is essential that if the AddCurrentBoPropHandlers is implemented then this is implemented such that editing a business object that is no longer being shown on the control does not does not update the value in the control.
|
Method | Description | |
---|---|---|
CtlKeyUpHandler ( object sender, |
A handler to deal with the case where a key has been released. If the key is an Enter key, focus moves to the next item in the tab order. This has been made protected for the purposes of testing. Since the event based testing using NUnitForms does not work on our build server. This method should not be used in normal production code. |
|
GetFirstControl ( |
Provides the first control in the tab order on a control
|
|
GetNextControlInTabOrder ( |
Provides the next item in the tab order on a control
|
Method | Description | |
---|---|---|
CtlKeyDownHandler ( object sender, |
A handler to deal with the case where a key is down.
|
|
CtlKeyPressHandler ( object sender, System e ) : void |
A handler to deal with the case where a key has been pressed.
|
|
GetNextControl ( |
||
GetPreviousControl ( |
||
IsMultiLineTextBox ( ) : bool | ||
SetFocusOnNextControl ( ) : void |
public AddCurrentBOPropHandlers ( |
||
mapper | The control mapper that maps the business object property to the control | |
boProp | IBOProp | The business object property being mapped to the control |
return | void |
public AddKeyPressEventHandler ( IControlHabanero control ) : void | ||
control | IControlHabanero | The control whose events will be handled |
return | void |
protected CtlKeyUpHandler ( object sender, |
||
sender | object | The object that notified of the event |
e | Attached arguments regarding the event | |
return | void |
protected static GetFirstControl ( |
||
parentControl | The parent of the controls in question | |
control | The current control | |
return |
protected static GetNextControlInTabOrder ( |
||
parentControl | The parent of the controls in question | |
control | The current control | |
return |
public RemoveCurrentBOPropHandlers ( |
||
mapper | The control mapper that maps the business object property to the control | |
boProp | IBOProp | The business object property being mapped to the control |
return | void |