Article Details
Id: | 11880 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 2.01.00 |
Opened: | 15/05/2014 |
Closed: | 09/06/2014 |
Released: | 27/06/2014 |
Job: | J013267 |
Page Sets; Handling of Range Lookups enhanced
The following enhancements have been made relating to displaying Range Lookups from a Text Box on a Page Set:
- When the Account List or Account Search (or Client and Security Statement equivilents) are displayed (depending on Global and User Preferences) from the psh.FormShowRangeLookupFromStandardRange method, right-clicking in the Text Box will now display a list of selected codes in the respective List/ Search form.
- The psh.FormShowRangeLookupFromStandardRange method now have a fourth parameter 'forceRangeLookup' which, if set to True, will force Account, Client and Security Statement Range Lookup forms to be displayed regardless of the aforementioned Global and User Preferences.
- An overloaded version of the psh.FormShowRangeLookupFromStandardRange method now exists into which you can pass the Page Object variable, e.g., psh.FormShowRangeLookupFromStandardRange(txtAccountTypes) rather than having to pass in txtAccountTypes.PageObject.
- The following methods have been added to the Page Set Handler (psh from Scripts):
- FormShowRangeLookupFromDataView
- This will return False if no DataView is specified or if the specified idField does not exist in the DataView.
An example of using the new methods is shown below:
Public Sub txtBanks_ButtonClick(sender As Object, e As finPageObjectButtonClickEventArgs) Handles txtBanks.ButtonClick
Dim dv As DataView
If finBL.InformationLists("BankShortNames").GetDataView(dv, "Bank", "Description", False) Then
psh.FormShowRangeLookupFromDataView(txtBanks, dv, "Bank", "Lookup Banks")
End If
End Sub