Octobox API  4.1.0
Octobox Scripting API
Public Member Functions | Protected Member Functions
SCLookupDialogAlternatives

Object containing the settings of a lookup dialog box for alternative results. More...

Inheritance diagram for SCLookupDialogAlternatives:
SCLookupDialog

Public Member Functions

override List< ResultRow > ExecuteLookup (Dictionary< string, string > searches)
 Execute the search to populate the lookup dialog box. More...
 
 SCLookupDialogAlternatives (SCDocument document, string name, ValidationScriptBase parent)
 Lookupdialog constructor. More...
 
- Public Member Functions inherited from SCLookupDialog
 SCLookupDialog ()
 Lookupdialog constructor. (Internal use only!) More...
 
 SCLookupDialog (SCDocument document, string name, ValidationScriptBase parent)
 Lookupdialog constructor. More...
 
void ShowDialog ()
 Shows the database dialog and the selected record will be supplied through the LookupDialog_Closed event. Can be used for both desktop and web validation. More...
 
SCLookupResult ShowDialogInstant ()
 Shows the database dialog and returns the selected record. Can only be used for desktop validation. More...
 

Protected Member Functions

override SCLookupResult ShowDialogWindow ()
 Show the lookup dialog box. More...
 
- Protected Member Functions inherited from SCLookupDialog
void AddLocationByName (string dialogName, string locationString)
 
string [] GetLocationByName (string dialogName)
 
virtual SCLookupResult ShowDialogWeb ()
 

Additional Inherited Members

- Properties inherited from SCLookupDialog
List< SCGridHeader > ColumnHeaders [get, set]
 Collection of column headers to use for this lookup dialog box. More...
 
static StringCollection DialogLocations [get, set]
 
string DialogTitle [get, set]
 Window title of this dialog. More...
 
SCDocument Document [get, set]
 
int Height = -1 [get, set]
 Height of the dialog at startup. If not set the last height will be used. More...
 
Dictionary< string, string > InitialValues [get, set]
 Collection of initial values to use in this lookup dialog box. More...
 
bool InstantSearch [get, set]
 Indicates to perform a search with the initial files on opening the dialog box. More...
 
int Left = -1 [get, set]
 Left value of top left corner of the dialog at startup. If not set the last position will be used. More...
 
int MaxResults [get, set]
 Maximum number of results returned by this lookup (default is 100, 0 returns all results). More...
 
string Name [get]
 Unique identifier for this dialog. More...
 
bool RequireWildCard = -1 [get, set]
 True if fuzzy searching requires a * More...
 
ValidationScriptBase Script [get, set]
 
int Top [get, set]
 Top value of top left corner of the dialog at startup. If not set the last position will be used. More...
 
int Width = -1 [get, set]
 Width of the dialog at startup. If not set the last width will be used. More...
 

Detailed Description

Object containing the settings of a lookup dialog box for alternative results.

Constructor & Destructor Documentation

◆ SCLookupDialogAlternatives()

SCLookupDialogAlternatives ( SCDocument  document,
string  name,
ValidationScriptBase  parent 
)
inline

Lookupdialog constructor.

Parameters
documentCurrent document
nameUnique identifier for this dialog
parentValidation script calling this dialog. Should always be 'this'

Member Function Documentation

◆ ExecuteLookup()

override List<ResultRow> ExecuteLookup ( Dictionary< string, string >  searches)
inlinevirtual

Execute the search to populate the lookup dialog box.

Parameters
searchesCollection of fields and values to use in the search

Implements SCLookupDialog.

◆ ShowDialogWindow()

override SCLookupResult ShowDialogWindow ( )
inlineprotectedvirtual

Show the lookup dialog box.

Implements SCLookupDialog.