LookupDefinition<(Of <(<'TLookupEntity, TEntity>)>)>..::..ShowAddOnTheFlyWindow Method
Creates a new record for this lookup's table. Calls LookupContext's ShowAddOnTheFly method to show the appropriate database maintenance window for this table.
Namespace:
RingSoft.DbLookup.LookupAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public NewAddOnTheFlyResult ShowAddOnTheFlyWindow( string keyText, Object ownerWindow, PrimaryKeyValue newRecordPrimaryKeyValue, Object addViewParameter, PrimaryKeyValue selectedPrimaryKeyValue )
Public Function ShowAddOnTheFlyWindow ( _ keyText As String, _ ownerWindow As Object, _ newRecordPrimaryKeyValue As PrimaryKeyValue, _ addViewParameter As Object, _ selectedPrimaryKeyValue As PrimaryKeyValue _ ) As NewAddOnTheFlyResult
public: NewAddOnTheFlyResult^ ShowAddOnTheFlyWindow( String^ keyText, Object^ ownerWindow, PrimaryKeyValue^ newRecordPrimaryKeyValue, Object^ addViewParameter, PrimaryKeyValue^ selectedPrimaryKeyValue )
Parameters
- keyText
- Type: String
The key text.
- ownerWindow
- Type: Object
The owner window.
- newRecordPrimaryKeyValue
- Type: RingSoft.DbLookup..::..PrimaryKeyValue
The new record primary key value.
- addViewParameter
- Type: Object
The add-on-the-fly window's input parameter.
- selectedPrimaryKeyValue
- Type: RingSoft.DbLookup..::..PrimaryKeyValue
The selected primary key value.