Lookup::Dialog (Interface: Lookup)
 
Shows the dialog for a lookup type.
 
LONG Dialog (
    enum eLookupType eLookupType
)
 
Parameters
eLookupType
[in] A value of the 'eLookupType' enumeration.
 
Return value
A LONG containing the system number of the selected record, 0 if no record was selected.
 
See Also
CreateLookup
 
Samples
 
C++
 
long lSysNum;
// Dialog for selecting a value from customer aliasses
lSysNum = pLookup->Dialog (ltCstAlias);

C#
 
int iSysNum;
// Dialog for selecting a value from customer aliasses
iSysNum = oLookup.Dialog (eLookupType.ltCstAlias);

VBS
 
Dim lSysNum
' Dialog for selecting a value from customer aliasses
lSysNum = oLookup.Dialog (ltCstAlias);

VB.NET
 
Dim lSysNum As Long
' Dialog for selecting a value from customer aliasses
lSysNum = oLookup.Dialog (eLookupType.ltCstAlias)