menuitemPopup

 Show all Hide all

Used to open a popup window from a button in a NewEdit menu item. A passing field IsPopup will be available for menu items opened in a popup.

menuitemPopup should not be called from a field in a multirow.

Usage

menuItemPopup(menuItemId)
menuItemPopup(menuItemId, inputname)
menuItemPopup(menuItemId, inputname, passingfields)

menuItemId : Number

Id of the menu item to open. The menu item must either be a menu item with a visible user interface (like grid or newedit) or forward to another menu item with a visible user interface.

inputname : String

Name of the control to set the value for.

PassingFields : String

PassingFields are defined on the form 'passingfieldName=passingfieldValue'

The passingfield value can be a hardcoded value, a reference to another fields value {OtherField} or a reference to the value of the field that has the button {$self}.