In Designer mode

The last example combines both methods that you learned. It includes selecting multiple items and picking them without closing the selection form, then selecting some more and picking them, and so on.

This requires passing both form parameters to a form being opened: CloseOnChoice and MiltipleChoice. 

  • Update the Pick button click handler as shown in listing 26.6.

    Listing 26.6. Pick button click handler

    Procedure Pick(Command)
        FormParameters = New Structure ("CloseOnChoice, MultipleChoice", False, True);
        OpenForm("Catalog.MaterialsAndServices.ChoiceForm", FormParameters, Items.Materials);
Next page: In 1C:Enterprise mode
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.