AvailableValues property of TextField ChoiceList

The 1C:Enterprise developers forum

People who like this:0Yes/0No
Rating: 34
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Shouldn't this work?

   Items.TextField.ChoiceList.AvailableValues = BancosList.Copy();
      ShowedValues = Items.TextField.ChoiceList.AvailableValues;
      ToDelete = ShowedValues.FindByValue("89");
      ToDelete = ShowedValues.FindByValue("16");

The code actually modifies the property of AvailableFields of ChoiseList of TextField but it does not affect appearance. 8.3.4

People who like this:0Yes/0No
Timofey Bugaevsky


Could you please provide a configuration where the problem can be reproduced?

People who like this:0Yes/0No
Just came
Rating: 0
Joined: Jul 10, 2019
Company: 1C

Hi Tim, I met the problem. I need your helping. "I have a choicelist in the properties of Data processor. I want to set Source data for ChoiceList. How I do it work? ". Thank you a lot of. Nice too meet you.

People who like this:0Yes/0No
Active user
Rating: 2
Joined: Oct 4, 2018

phat tran, hello!
In 1C:Enterprise setting data source of choice list isn't like in, for example, MS Access or VBA userforms.
When you set reference data type (catalog, document) of attribute in your data processor, the control linked with this attribute will automatically get functionality of choice fr om list or object list form. No need to manually set data source.
If you want to lim it choice list, you may use the "Choice parameters" and "Choice parameters links" properties of form control.
Also you may fill the choice list programmatically.

Be the first to know tips & trick 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.