Two Ways to Access Form Item Properties

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

There are two ways to access a form items properties: by form item name and by path through groups. For example:
Items.TabularSectionsGroup.ChildItems.GoodsGroup.ChildItems.Goods.ChildItems.GoodsGoodsItem.Visible = False;
And
Items.GoodsGoodsItem.Visible = False;
Which way is better and is there any difference?

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Dec 6, 2011
Company:

IMHO, it is obviouse that second way is much better )

 
#3
People who like this:0Yes/0No
Active user
Rating: 6
Joined: Sep 16, 2011
Company:

Yep, thanks for bringing me out of the confusion!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
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.