Buttons on Catalogue choice form

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

Is it possible in Catalogue choice form disable buttons Create and Create Group?

 
#2
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

Figured out. In the List table properties of this form need to check checkbox ReadOnly and after saving Create buttons get disabled.

 
#3
People who like this:1Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

Hello Peter,

of course it's possible.

Each form has a set of commands (screenshot 1). You just should disable those commands that you do not need (screenshot 2)

Download scr_1.png (62.11 KB)
Download scr_2.png (24.72 KB)
 
#4
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

Quote
Peter Cross wrote:
Figured out. In the List table properties of this form need to check checkbox ReadOnly and after saving Create buttons get disabled.

This can also be done, in this case the buttons will be visible, but will be inactive.

 
#5
People who like this:0Yes/0No
Active user
Rating: 8
Joined: May 21, 2023
Company:

This works too. The buttons for turned off commands even disappear.
Thanks!

 
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.