Display a Range Lookup Form based on a Parameter.

<para> If a Lookup already exists for the Parent Form then this will be activated. </para> <para> If the Parent Form is not an MDI Child Form then the Range Lookup will be displayed as a Modal Form. </para> <para> Even if this method returns True, rangeLookupForm may still be Nothing since the User Interface may have substituted the opening of a Range Lookup (E.g. to display the Client Search Form instead) or the Lookup Form may have been opened Modally and then closed. </para>

Syntax

ISCommonForms.ShowRangeLookupFromParameter(parentForm, pseudoModal, parameter, sourceControl, [rangeLookupForm], [modal], [modalReturnValue], [modalCancelled])

Parameters

NameTypeOptionalByRefDescription
parentForm ISFormBase The Parent Form.
pseudoModal Boolean Indicates whether the Range Lookup Form should be Pseudo Modal to the Parent Form.
parameter ISParameter The Range Parameter.
sourceControl Control The Source Control to be updated.
rangeLookupForm ISFormBase Optional ByRef The Range Lookup Form. If omitted, a value of Nothing is assumed.
modal Boolean Optional If omitted, a value of False is assumed.
modalReturnValue String Optional ByRef
modalCancelled Boolean Optional ByRef If omitted, a value of False is assumed.

Return Value

Boolean
Member of:
ISCommonForms
Namespace:
Intersoft.ISUserInterface6
Assembly:
ISUserInterface6, Version=6.0.3
Target Framework:
.NET 9.0