Skip to main content
Solved

Hide Action Buttons

  • November 13, 2020
  • 2 replies
  • 206 views

Forum|alt.badge.img

Hi!

Is there a way to hide all the action buttons (so including the Refresh button)? We are using a Detail Tab in the Screen Type and we would like to see all the action buttons, including the white-space, to be hidden.

 

ps. Turning off the ‘Navigation’ checkbox does not help.

Best answer by Mark Jongeling

Hi,

This is not yet possible in the Universal GUI. Also to add, if you disable the Refresh button, data in that Grid could not be refreshed unless closing and reopening the screen. But considering the layout of your screen, it's probably not a problem.

Feel free to create a topic in the ideation section for this.

Kind regards,
Mark Jongeling

View original
This topic has been closed for comments

Blommetje
Forum|alt.badge.img+13
  • Partner
  • November 13, 2020

I think if you create a Layout procedure, assign it to the page and click ‘Generate’ on the Result-tab. It shows something like this: 

-- 0 = enabled, 1 = disabled, 2 = hidden.

@add_button_type         tinyint output,
@update_button_type    tinyint output,
@delete_button_type     tinyint output,
@confirm_button_type   tinyint output,
@cancel_button_type    tinyint output,

 

Go back to your code on the tab Templates and write when you want this to work.

So 

if (@status = ‘Final’)
begin 
 set @update_button_type = 2  
 set @delete_button_type  = 2
end 

 

This should turn off the update and delete button if the @status is final. 

Here some more info

However, turning of the refresh… That I do not know. My guess is…  you can’t… 


Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi,

This is not yet possible in the Universal GUI. Also to add, if you disable the Refresh button, data in that Grid could not be refreshed unless closing and reopening the screen. But considering the layout of your screen, it's probably not a problem.

Feel free to create a topic in the ideation section for this.

Kind regards,
Mark Jongeling


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings