FIX2.01.00 · Released 27 June 2014
FIXfinPOWER Connect
Released in
2.01.00
27 June 2014
- Opened15 May
- Closed9 Jun
- Released27 Jun
Article 11880
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.ButtonClickDim dv As DataViewIf finBL.InformationLists("BankShortNames").GetDataView(dv, "Bank", "Description", False) Thenpsh.FormShowRangeLookupFromDataView(txtBanks, dv, "Bank", "Lookup Banks")End IfEnd Sub