Desktop version

Main > Knowledge Base > Knowledge Base > Knowledge base > Practical developer guide 8.3 > Lesson 26 (2:00). Picking list items, avoiding modal windows, and generating data based on other data > Picking list items > Using the NotifyChoice() method > Practical developer guide 8.3 > Lesson 26 (2:00). Picking list items, avoiding modal windows, and generating data based on other data > Picking list items > Using the NotifyChoice() method

Using the NotifyChoice() method

Use the NotifyChoice() form method when the algorithm that generates selection data is complex and you need the user to enter or select some data in addition to selecting the catalog item. In this scenario you have to call the NotifyChoice() method when all the data required for picking is generated.

The NotifyChoice() method alerts the form owner that picking or selection is finished, passes the selected value to the owner, and closes the form unless it is opened in multiple selection mode.

You can also use the NotifyChoice() method when you need to pass a custom data structure in addition to the selected catalog item (or array of items) to the document form.

Next page: Avoiding modal windows




© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.