sc_btn_display("Button_Name","on/off")

Activate toolbars buttons on the application in execution time.

Button_Name: Is the variable name that contains the name of the button to be activated/deactivate.

Buttons Name (Grid):

Buttons Name
Description
first Goes to the first page of the grid.
back Goes to the previous page of the grid.
forward Goes to the next page of the grid.
last Goes to the last page of the grid.
filter Displays the "Filter" button.
pdf Generates colored PDF.
det_pdf Generates detail PDF.
pdfbw Generates black and white PDF.
xls Generates the XLS.
xml Generates the XML.
cvs Generates the CVS.
rtf Generates the RTF.
word Generates the Word.
print Displays the "Print" button in the grid.
det_print Displays the "Print" Button in the detail.
summary Displays the "Summary" button in the grid.
new Displays the "New" button. (if the application has link for it, or if the form is running in the grid iframe)
insert Displays the "Include" button of the form. (only for forms running in grid´s iframe)
update Displays the "Update" button of the form. (only for forms running in grid´s iframe)
delete Displays the "Delete" button of the form (only for forms running in grid´s iframe)
qsearch Displays the "Quick Search" button in the grid.
groupby Displays the "Group By" button in the grid.
dynsearch Displays the "Dynamic Search" button in the grid.
gridsave Displays the "Save Grid" button in the grid.

Buttons Name (Form):

Buttons Name
Description
first Goes to the first page of the form.
back Goes to the previous page of the form.
forward Goes to the next page of the form.
last Goes to the last page of the form.
new Displays the "New" button on the form, if its off the form will starts in insertion mode.
insert Displays the "Include" button of the form.
update Displays the "Update" button of the form.
delete Displays the "Delete" button of the form.
copy Displays the "Copy" button of the form.
qsearch Displays the "Quick Search" button of the form.
pdf Generates PDF file from form.
print Open the form in print mode.
dynsearch Displays the "Dynamic Search" button in the grid.

Buttons Name (Control):

Buttons Name
Description
ok Displays the "Ok" button on a control.
exit Displays the "Exit" button on a control.
facebook Displays the "Facebook" button on a control.
twitter Displays the "Twitter" button on a control.
google Displays the "Google+" button on a control.
paypal Displays the "PayPal" button on a control.

OBS. Remember that the buttons name must be lowercase.

Ex. 1:
sc_btn_display ('new', 'off');

Ex. 2: If we use variables or fields ({Fields} or [Global_Variables]) as parameters its not allowed the use of the quotes or single quotes.
sc_btn_display ({variavle_button}, 'off');